Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
216 stars 136 forks source link

Unexpected developer error. Please try again later on google pay in webview #703

Open jeetendra-kumar opened 3 years ago

jeetendra-kumar commented 3 years ago

I have implemented checkout through webview and i am getting error "Unexpected developer error. Please try again later".

Can you suggest what should i need to do to fix this issue.

Daniel-sims commented 3 years ago

Also seeing this issue when opening Google Pay. Using the latest version of the SDK.

I'm getting the output of

I/chromium: [INFO:CONSOLE(250)] "Uncaught ReferenceError: PaymentRequest is not defined", source: https://pay.google.com/gp/p/js/pay.js (250)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://pay.google.com/' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://pay.google.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://pay.google.com/' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback. ", source: https://pay.google.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://team-rh-fitness.myshopify.com/25346834494/digital_wallets/dialog' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://cdn.shopify.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://checkout.shopify.com/' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://cdn.shopify.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://shop.app/' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://cdn.shopify.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://team-rh-fitness.myshopify.com/25346834494/digital_wallets/dialog' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://cdn.shopify.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://checkout.shopify.com/' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://cdn.shopify.com/ (0)
I/chromium: [INFO:CONSOLE(0)] "[Report Only] Refused to frame 'https://shop.app/' because it violates the following Content Security Policy directive: "child-src c.paypal.com". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.", source: https://cdn.shopify.com/ (0)