To post a new support question, click the Post New Topic button below.
Current Version: 4.8.5 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Square Transaction (sandbox) 'request Not Authorized'

J
41 posts
Sat Jun 13, 20 9:24 AM CST
I've created the square app in sandbox mode on the square developer site and entered the Application ID and Access Token in Sytist.

When attempting to complete a sale using one of Square's test card numbers, The message 'Request not authorized' is delivered.

Sytist recognizes I'm in test mode. It just seems like Square doesn't like what is being set to it.

I've copy and pasted the credentials again, and tried with a new Access Token, but the result didn't change.

This is such a simple setup, I don't know what I've done incorrectly.

What do you suggest, Tim?
Edited Sat Jun 13, 20 9:25 AM by Jim Whitesell
16,148 posts (admin)
Mon Jun 15, 20 4:22 AM CST
According to this:
https://www.sellercommunity.com/t5/Developer-Discussions/Square-Payment-Gateway-Request-not-authorized-error/td-p/104601

the AUTHENTICATION_ERROR message you received occurs when your Application ID and Personal Access Token do not match the information in your Developer Portal.

So it sounds like one of those is incorrect. You may want to test a live transaction.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
J
41 posts
Mon Jun 15, 20 12:58 PM CST
Hi Tim,
I was using the correct data as provided in the developer portal. Bottom line is a live transaction worked so we're good to go!
J
41 posts
Mon Jun 15, 20 2:19 PM CST
Hi Tim,

I asked in the Square developer forum if I can specify a location with the App ID and got this reply:

"No, the access token and application id have access to your entire account which includes all of your locations. The application itself should be determining what location it goes to (most endpoints have a location_id parameter). "

Would you consider updating the connection to square to allow us to specify the location_id?

Thanks!

For reference, here is the post in the square forum:
https://developer.squareup.com/forums/t/app-id-for-specific-location/402
16,148 posts (admin)
Tue Jun 16, 20 10:19 AM CST
It pulls the first location ID it gets from the listLocations function. If you want to set your own location ID you can in sy-inc/store/payment/square/locations.php line 7
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
J
41 posts
Tue Oct 27, 20 10:22 PM CST
Hi Tim, I'm back at this. FYI, the square sandbox credential don't work. Here's what I did:

Using a new square account with only one location, created credentials and copy and pasted to Sytist.
Testing gave me the same "Request not authorized" message.
Re-pasted sandbox credentials, same error.

Switched to live credentials and the transaction worked.

There is something up with the Square sandbox credentials. It's very low priority (for me) since live transactions are working but thought you'd like to know.
6 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 1,142 times
Category: Payment Options
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close