Search code examples
react-nativewebviewstripe-paymentsexpodeep-linking

How to redirect to React Native Expo app from Webview after Stripe payment?


I'm currently developing a mobile application using React Native Expo. In order to avoid detaching I'm using the Stripe client-only checkout page in a WebView.

My question is how do I redirect a successful/cancelled payment back to a specific screen in my application from the WebView?


Solution

  • I think what you want to do here is use Deep Links as the return URL which should allow you to get right back into the app - and you can use the path to specify exactly where it should land.