With Square the only time the 401 Unauthorized
error happens is if:
- Credentials aren’t correctly configured
- The
JS
library for the form isn’t configured to the same environment that your credentials are from. - The base path URL is set to a different environment than your credentials.