I am able to get the Stripe Checkout to work in my Ionic/Cordova app. It shows an iFrame where allow user to enter their Stripe login info / credit card info to finish the payment process.
However there is one user case that I can't support correctly - When user clicks the Terms | Privacy
links from the Stripe Checkout iFrame, the link is opened with the Cordova Webview, which destroys my app since the Cordova left my app and went to the Stripe's Terms | Privacy
web page. There is no back button on iOS and even though there is one on Android, the app state is totally destroyed since we've left our app.
I have tried using In app browser
, but with no luck since I can't get URLs from Stripe to feed them to In app browser
. Also I can't manipulate the Stripe Checkout iFrame HTML because of security reasons. So it seems that I don't have any way to either make the Terms | Privacy
open in In app browser
or hide/remove the Terms | Privacy
by changing the iFrame HTML.
Is there a solution to this question? If not, I might consider not using Stripe Checkout in my app.
Thanks!