You have no items in your shopping cart.

Sunday, November 24, 2024 10:20:10 AM

Error message?

Posted: 5 years ago

#8751 Quote

ron.moonsad

Posted: 5 years ago

#8751 Quote
Setting up foxnetsoft.SquarePaymentForm on a client site and getting following error when trying to process test order:



Square.Connect.Client.ApiException: Error calling Charge: {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"NOT_FOUND","detail":"API endpoint for URL path `/v2/locations/transactions` and HTTP method `GET` is not found."}]}

   at Square.Connect.Api.TransactionsApi.ChargeWithHttpInfo(String locationId, ChargeRequest body)

   at Square.Connect.Api.TransactionsApi.Charge(String locationId, ChargeRequest body)

   at FoxNetSoft.Plugin.Payments.SquarePaymentForm.Services.SquarePaymentManager.Charge(ProcessPaymentRequest paymentRequest, Boolean isRecurringPayment, String squareToken)





Any idea what is wrong?

Posted: 5 years ago

#8752 Quote

Support

Posted: 5 years ago

#8752 Quote
What nopcommerce version do you use?
Do you use live or sanbox?

I didn't see such error message before.
I know that Square wants to see https on your site.
Maybe it's a reason.
Answer me and I'll think again.

I found one answer from Square but I don't know if this solution helps you.
To resolve this issue you simply have to ensure that the Square profile and the website business address are the same. It's a new Square requirement that is catching people by surprise due to their lack of letting people know about that.

Posted: 5 years ago

#8753 Quote

ron.moonsad

Posted: 5 years ago

#8753 Quote
That was the problem. Client had not updated Square account with new URL info.

Working now.

Thanks!

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved