Using Stripe Checkout with Cordova ios 4.0.0+

后端 未结 1 2000
旧巷少年郎
旧巷少年郎 2021-02-05 16:04

I have been trying to get Stripe checkout working with Cordova iOs 4.2.0 and am having no luck. The last Cordova iOs version this works with is 3.9.2. To test I made an empty he

相关标签:
1条回答
  • 2021-02-05 16:37

    I was banging my head against the wall for days looking for a solution to this. Solution was to add the following two lines to my config.xml file:

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

    Hope this helps!

    EDIT: Updated solution with suggestion from @TateThurston

    0 讨论(0)
提交回复
热议问题