Stripe checkout form disappeared from publishing

Hi,
I create Payment application with this configuration :

  • Stripe checkout form from

https://github.com/stripe-samples/react-elements-card-payment
It’s working well from localhost but when I publish to Android via

npx cap open android

or deploying to firebase I’get this form missing, why ?

https://ionic-4-firebase-crud-de-55a43.firebaseapp.com/tab2

Thanks for any help.

try adding in the server section of capacitor.config.json

"allowNavigation": ["*://js.stripe.com/*"]

See doc for more information: https://capacitor.ionicframework.com/docs/basics/configuring-your-app/#common-configuration

1 Like