Square errors

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi,

I have read the other posts regarding the square plugin errors, I have followed all the advice on how to install the plugin but to no avail.

I am getting the following errors

"An error occurred while obtaining an access token and One or more errors occurred. (A task was canceled.) & "Choose your business location. Location is a required parameter for payment requests."

I have tried using sandbox mode but did not work either.

I have created a new app in the square dashboard but still to no avail and also tried different versions of the square api.

Regards

NopCommerce version 4.20
4 years ago
can you put full error message?
4 years ago
garrie007 wrote:
Hi,

I have read the other posts regarding the square plugin errors, I have followed all the advice on how to install the plugin but to no avail.

I am getting the following errors

"An error occurred while obtaining an access token and One or more errors occurred. (A task was canceled.) & "Choose your business location. Location is a required parameter for payment requests."

I have tried using sandbox mode but did not work either.

I have created a new app in the square dashboard but still to no avail and also tried different versions of the square api.

Regards

NopCommerce version 4.20




Hello,

In default 4.20 it's working fine i also tested few days ago this payment method.

AT that time i configure from this document.

Can you recheck once this.

After, still you get error than please post full error message here i will surely assist you.

Thanks,
Smiten Kalathiya
4 years ago
sangeetshah wrote:
can you put full error message?


Hi,

Sorry for the late reply had a problem with the recaptcha.

here is the error message.

Square payment error: Error calling ListLocations: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Regards
4 years ago
sk5202 wrote:
Hi,

I have read the other posts regarding the square plugin errors, I have followed all the advice on how to install the plugin but to no avail.

I am getting the following errors

"An error occurred while obtaining an access token and One or more errors occurred. (A task was canceled.) & "Choose your business location. Location is a required parameter for payment requests."

I have tried using sandbox mode but did not work either.

I have created a new app in the square dashboard but still to no avail and also tried different versions of the square api.

Regards

NopCommerce version 4.20



Hello,

In default 4.20 it's working fine i also tested few days ago this payment method.

AT that time i configure from this document.

Can you recheck once this.

After, still you get error than please post full error message here i will surely assist you.

Thanks,
Smiten Kalathiya


Hi,

These are the instructions that I first followed.

Regards
4 years ago
Hi All,

over the past couple of days I have completely wiped all files from the hosting server, created a brand new MSSQL  data base, re downloaded NopCommerce from the NopCommerce website, rebuilt the Nop Web solution in VS 2019 then deployed back onto the server.

Gave folder write permissions to the following folders as per installation instructions from the NopCommerce documentation.

For nopCommerce versions 4.00 and above:

\App_Data\
\bin\
\log\
\Plugins\
\Plugins\bin\
\wwwroot\bin\
\wwwroot\bundles\
\wwwroot\db_backups\
\wwwroot\files\exportimport\
\wwwroot\images\
\wwwroot\images\thumbs\
\wwwroot\images\uploaded
\App_Data\installedPlugins.json (after installation)
\App_Data\dataSettings.json (after installation)


Created a new application in the square dashboard and followed the instructions from here

https://docs.nopcommerce.com/user-guide/configuring/settingup/payments/methods/square.html

but I still get the following error:

An error occurred while obtaining an access token and the business location will still not populate.

My square account and apps are fine as I use them in open cart so I know its not square.


am I missing something?

Regards
4 years ago
garrie007 wrote:
Hi,

I have read the other posts regarding the square plugin errors, I have followed all the advice on how to install the plugin but to no avail.

I am getting the following errors

"An error occurred while obtaining an access token and One or more errors occurred. (A task was canceled.) & "Choose your business location. Location is a required parameter for payment requests."

I have tried using sandbox mode but did not work either.

I have created a new app in the square dashboard but still to no avail and also tried different versions of the square api.

Regards

NopCommerce version 4.20

Me to same issue, i use nopCOmmerce 4.30(source version)
sandbox-legacy mod is work(location is come)but sonbox and standard mode is not work. Do you fix it?
Its like this

My square config:


4 years ago
Did anybody fix this issue? I have the same problem.

Do we need to do something extra in square ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.