#PhilipB-TherapieClinic
1 messages ยท Page 1 of 1 (latest)
Hey @tribal orbit, adding @lime zenith to the chat thread
Hi there ๐ I'm not too familiar with React Native, so apologies if this is a naive question, but would you be able to incorporate our React Native SDK which includes support for Google and Apple pay in our Payment Sheet?
https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet
@lime zenith I don't think we can right?
Hi @tribal orbit thanks for the response.
No that won't be possible. The checkout (and other screens in the app) are just webviews of our website using this package: https://github.com/react-native-webview/react-native-webview
Pretty much everything is managed via the website. We use the Stripe SDK on the website, however the app runs into issues because of the webview which seems to disable payment API's.
Gotcha, in that case I believe you are going to be limited by what the underlying WebViews are capable of supporting.
Thanks Toby so what you're saying if i'm right is that the only solution is to switch to the SDK? I would have thought there are other Stripe users in the same situation as us?
That is my understanding, and I'm unsure if others have run into this concern. You are correct that those wallet payment methods rely on the Payment Request API, and my understanding is that Android's WebView for instance do not have support for that underlying API so it's not possible to support these wallets in them.
Ok is there a way you can ping the internal dev team to confirm, going down the SDK route would be a large undertaking for us as dev team
Sorry, confirm what?
Android's WebView limitation regarding the Payment Request API is documented here:
https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API#browser_compatibility
No worries to confirm for apple pay there's no way around the limitations we're seeing without using the SDK
Ah thanks for the compatibility matrix there
The limitation on the Apple side of things strikes me as something that the Apple Support team would be more familiar with.
๐