I'm building an app where the user can purchase an item. The payment is handled by Stripe and Klarna on a website opened with url_launcher
.
My question is how to properly return the user to the app after the purchase is successful. Stripe allows a return_url
to be passed which could be a Firebase dynamic link that opens the app. Would this work since the website could possibly have been launched in a in-app browser? Or is it just better to use a WebView
and monitor the url for the success one?
Any other thoughts are appreciated.