capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 74 forks source link

feat(native): support CardInputWidget #80

Closed rdlabo closed 2 years ago

rdlabo commented 2 years ago

setupIntent require SetupIntentParams from CardInputWidget: https://stripe.com/docs/payments/save-and-reuse

But Capacitor can't put Native Elements to WebView. So we should create half-modal, and present CardInputWidget.

rdlabo commented 2 years ago

solution is here: https://github.com/capacitor-community/stripe/pull/87