Shopify / checkout-sheet-kit-react-native

Shopify's Checkout Sheet Kit for React Native - simplifying the process of adding checkout to your native apps.
https://shopify.dev/docs/custom-storefronts/mobile-apps
MIT License
28 stars 3 forks source link

Google pay #56

Open ReeceZeal opened 7 months ago

ReeceZeal commented 7 months ago

Hey guys,

This package works really well and does almost everything I need it to. However, it looks like Google pay doesn't work on android devices. Is this intentional, a bug, or something that will be added at a later date? My device has a card in the wallet and Google pay does work when I open it in chrome

Thanks, Reece

markmur commented 7 months ago

Hey @ReeceZeal 👋

Glad to hear the package is working well for you. Unfortunately, due to security limitations in Android, Google does not currently allow Google Pay in WebViews. The request must invoke the native APIs. Google Pay works in Chrome because they have full control of the application, but this is not the case for WebViews.

We're working to resolve this with Google, but I have no roadmap to share with you unfortunately.

See https://developers.google.com/pay/api/web/support/faq for more information.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in 30 days. Thank you for your contributions.

lightstrike commented 3 weeks ago

@markmur Has there been any further progress made in resolving this issue with Google? If not, is there an available workaround to allows customers to checkout with Google Pay?

markmur commented 3 weeks ago

Hey @lightstrike, Google are still working on this - with no workaround just yet. We will be shipping ways to integrate with Google Pay directly but unfortunately I can't offer a timeline.