We are suddenly encountering this error in Sandbox… Any guidance or ideas? thanks
Does the name on your certificate match the domain it’s installed on or are you using localhost? Also what are the steps to reproduce? I just tried a payment in sandbox and it was successful.
Hi Bryan, This is on localhost. On initial page load, this request to square: https://js.squareupsandbox.com/payments/data.js
is throwing: ERR_CERT_COMMON_NAME_INVALID
. If i then try to put a payment through, payment.verifyBuyer
throws window.Square.Analytics is undefined after loading script https://js.squareupsandbox.com/payments/data.js
Thanks for the information. The team is looking into this.
1 Like
Hi Bryan, I am not sure what the problem was… But both errors have disappeared now despite no code changes.
Yes, the team was able to make the fix.