Errors while Moving to Production from SandBox

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.