#PhilipB-TherapieClinic

1 messages ยท Page 1 of 1 (latest)

wind trenchBOT
scarlet basin
#

Hey @tribal orbit, adding @lime zenith to the chat thread

tribal orbit
scarlet basin
#

@lime zenith I don't think we can right?

lime zenith
#

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.

GitHub

React Native Cross-Platform WebView. Contribute to react-native-webview/react-native-webview development by creating an account on GitHub.

tribal orbit
#

Gotcha, in that case I believe you are going to be limited by what the underlying WebViews are capable of supporting.

scarlet basin
#

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?

tribal orbit
#

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.

scarlet basin
#

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

tribal orbit
#

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

The Payment Request API provides a consistent user experience for both merchants and users. It is not a new way for paying for things; rather, it's a way for users to select their preferred way of paying for things, and make that information available to a merchant.

scarlet basin
#

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

tribal orbit
#

The limitation on the Apple side of things strikes me as something that the Apple Support team would be more familiar with.

scarlet basin
#

๐Ÿ‘