New Web SDK with GooglePay - Issue with

Userlevel 1
Badge +3

Hi!  Thrilled for the new Web SDK even in Beta! Thanks.

Regular checkout working in my test environment just fine.  Google Pay gets to the screen like this:


but there is an error in the console like this:
Unable to download payment manifest "".


Then the next screen continues with this error

pay.js:181 Unsafe attempt to initiate navigation for frame with origin 'https://mydoman' from frame with URL '…2Fsettings%2Fmypage&controllerId=__privateStripeController8321'. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.

Any ideas?  



  Wb @

Best answer by Ryan Glanz 12 June 2024, 23:52

View original

4 replies

Userlevel 4
Badge +8


Would you mind sharing the code you use to make a purchase so I can take a look? Thanks!

Userlevel 1
Badge +3


const purchaseResult = await purchaseWebPackage!(selectedPackage);

The normal checkout with a credit card works great - it’s just Google pay flow that is broken.  

Interestingly, perhaps there could be something with my setup.   It doesn’t appear to be honoring the on/off setting for Google Pay in Stripe.  I’m in Test mode.

Userlevel 4
Badge +8

Hi @jamiejamie,

It looks like we’ve disabled support for Google Pay for now in RC Billing (and that must be an old version of the sdk, then). So I would recommend not using that option for the time being until we support it again.

Userlevel 1
Badge +3

I’m on 0.22