Hi, we have an odd case where a customer is unable to complete transactions with us via the Point of Sale system. The basics of how this works:
- Customer initiates transaction in our web application
- The Square app is presented and the payment is completed
- The application returns and a webhook is hit on our server to complete the transaction on our end (via payment.update hook)
This process is working for other customer but this one customer seems to have issues. We can see that the hook is hitting us, but when we try to preform a call to the retrieve Order API endpoint, we are getting a 401 or UNAUTHORIZED. The permissions are set up correctly to use the Orders API. I have manually created a simulation of what happens in the hook to see if I can observer the UNAUTHORIZED occurring for this customer but when I do this it works as expected and I get the order back.
I have two questions:
The UNAUTHORIZED Order API calls are not showing up in the API logs in the developer dashboard though. Is this intended? I can see 400, 403, and 404 but no 401 statuses.
Also Would it be possible to get some support on why these 401’s are occurring for this customer in this specific situation?