Created a Square account and received credentials for the Sandbox for using the SPaymentForm. Everything works great and I can validate the results in my Dashboard. The customer I am working for sent me her Sandbox credentials and using the same code with her credentials I received 401 errors upon loading the page. Will her credentials not work for me and if not why?
Hey @mcoogan51,
I reached out to the API team and they replied with the following:
"To load the payment form you need an application id, which it sounds like they got from their merchant. To take a payment, they would also need their access token, and with an invalid access token then it would result in a 401 error."
+
"They (the developer) should create the application, and then use OAuth to request access to their merchant’s accounts: OAuth API Page"
Square Community