We have a cordova app that uses Stripe PaymentIntent with 3D Secure.
When trying to validate a payment, an iframe should open for the 3DSecure. Cordova apps need allowance with the whitelist plugin. We have the following whitelist:
<allow-navigation href="https://stripe.com/*" />
<allow-navigation href="https://js.stripe.com/*" />
<allow-navigation href="https://hooks.stripe.com/*" />
<allow-navigation href="https://connect.stripe.com/*" />
As presribed by different anwsers:
- Stripe: HTML Checkout iOS Cordova wont open
- Security concerns with using Stripe checkout over Cordova
This is enough for testing with test card numbers, but once in production, we started to have problems with user complaining about white screen happening on payment validation. A look at the logs gives us this error:
ERROR Internal navigation rejected - allow-navigation not set for url=‘https://verifiedbyvisa.acs.touchtechpayments.com/v1/payerAuthentication’
So now we are wondering is this the only url we should allow? A search leads us to this article : Touchtech joins Stripe, so maybe we should allow every url from Touchtech?
Is there any documentation on what urls Stripe will try to load as an iframe for 3DSecure so every case is covered?