Skip to main content
Solved

New Web SDK with GooglePay - Issue with


Forum|alt.badge.img+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 "https://www.google.com/pay".

 

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 'https://js.stripe.com/v3/payment-request-inner-google-pay-792b02288231e9fd1…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

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.

View original
Did this post help you find an answer to your question?
This post has been closed for comments

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • June 3, 2024

Hi,

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


Forum|alt.badge.img+3

Hi! 

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.


Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • June 12, 2024

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.


Forum|alt.badge.img+3

I’m on 0.22


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings