#TotoNaBendo
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
I don't think Stripe Checkout will work well in webview.
You could try PaymentSheet instead: https://stripe.com/docs/payments/accept-a-payment?platform=ios&ui=payment-sheet
But if you omit the cancel_url Stripe will not show the back button: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-cancel_url
Ok nice ! Unfortunately i use expo for my react native app. So i can't call the cocoapod service
I'll take a look for the seocnd solution
thanks a lot !
There's stripe-react-native: https://github.com/stripe/stripe-react-native
Actually, it works in webview by tricking the success url... Not the best solution, but it's working
You might not get Apple/Google Pay working properly in webview
True. I'll look to migrate to the payment sheet.
Please, let me know if you have any other questions.