Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stripe: HTML Checkout iOS Cordova wont open

I've built an app which uses stripes checkout html form element. It appears to work well on Android(cordova) and browser.

On ios cordova the popups dim effect happens for 5secs and then it goes back to normal (no popup opened) and on safari the checkout form opens on a different tab instead of being a popup.

Also the form is custom but even the basic form doesn't work.

Please help!

like image 887
user121032 Avatar asked Aug 30 '16 13:08

user121032


1 Answers

I have been having the same issue on ios. Needed to add two lines to the config.xml

<access origin="*" /> <allow-navigation href="https://*.stripe.com/*" />

http://checkcoding.com/q/32610/javascript-ios-cordova-stripe-payments-using-stripe-checkout-with-cordova-ios-4-0-0

like image 171
Debmalya Avatar answered Oct 16 '22 23:10

Debmalya