Errors while Moving to Production from SandBox

I am moving my Code from Dev into Prod. I have changed my code to use Production values, but i am still getting errors.

Looking at the source i do see that Production version of javascript is getting loaded
<script type="text/javascript" src="https://js.squareup.com/v2/paymentform"></script>

The logs are showing many references to squareupsandbox.com, so it sounds like you’re still loading the sandbox (https://js.squareupsandbox.com/v2/paymentform) from somewhere. If you’re using production application id, that would explain the 401 and authorization errors since it’s hitting sandbox.

I am using balzor for front end, and it is notorious in keeping thing cached. I had to manually force clean the cache and it is working as expected.

1 Like