Have you changed your settings in admin to use the Square Sandbox credentials for testing?
Last edited by Congerman; 5 Jun 2021 at 11:32 AM.
That's the first thing I checked, but I have no options to enable sandbox under the square payment module config in ZC. Can't see it anywhere.
edit**
Scratch that, i can see square gives us different api credentials for sandbox testing. I'm having a senior moment over here!
Last edited by John Large; 5 Jun 2021 at 11:41 AM.
You have to log into your square account and get the sandbox Application ID and sandbox application secret and then use them in the module settings in Zen
No matter how many times I remove the square module and reinstall, generate a new sandbox OAuth secret & try to use the sandbox credentials, whenever I click the green button in ZC to get tokens via OAuth, I receive this error. If I use my production credentials, the module receives its tokens and becomes active.
Also, could you take a screenshot of the modal challenge that pops up on your website if the transaction does require a two-factor code such as via text or email for SCA? I'm curious to see how this looks and at what point it is shown. I've tried a few test transactions using my own cards and as yet haven't seen any challenges.
I had various issues like this.
When editing the Square settings in admin, if you add a URL parameter with a key of sandbox and any value, can you see any additional settings?
e.g. https://your-domain.tld/your-admin-d...re&action=edit&sandbox=1
If so, may be worth removing the three Token values and also confirming the Sandbox Merchant Token.
Thanks for that.
Tried as you suggested and the sandbox oauth was wrong. Have corrected & cleared the three token boxes. Re-authed the plugin then put it in sandbox mode. When I try to do a test transaction, using the test card details, I enter the details in checkout_payment and press continue, but it just sits there & doesn't load checkout confirmation.
Bookmarks