CORS error while attempting to use Google Pay

When attempting to use the Google Pay button its presenting me with a CORS error, I have tried numerous way to fix it but was unsuccessful, these being trying to fix my CORS and even just trying to disable CORS all together, aswell as attempting to use http://localhost instead however the problem persists.

The Error:

DOMException: Blocked a frame with origin "https://myactualdomain.here" from accessing a cross-origin frame.

I am running Vue.js under Express, all my testing is done under a verified SSL domain name on a local computer.

Any help would be amazing

:wave: Is it just Google Pay that isn’t working or are you not able to submit a payment at all with the Web Payments SDK?

It was just Google Pay, however I believe it may of been a short term issue on Googles side as the issue resolved itself the following day.

Oh, interesting. Happy to hear it’s working as expected now. :slightly_smiling_face:

1 Like