capacitor-community / stripe

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

confirmPaymentIntent is deprecated #39

Closed stefanotauriello closed 2 years ago

stefanotauriello commented 3 years ago

Like Stripe says here (https://stripe.com/docs/js/deprecated/confirm_payment_intent) confirmPaymenIntent is deprecated, it should be used confirmCardPayment. Is it possible or we can only use confirmPaymentIntent?

Thanks

ihadeed commented 3 years ago

I'll look into this when updating the plugin in the near future.

Since they don't have plans to remove that function for now, we'll likely have both functions available until they remove confirmPaymentIntent.

confirmPaymentIntent should still work fine for the time being. It seems like they're deprecating it in favor of multiple methods that are specific for the source that's being used: image

stefanotauriello commented 3 years ago

Yes i know, but in order to avoid problems, it’s very equal apart of parameters, so if you can it will be very appreciated 🙏

rdlabo commented 2 years ago

Thanks for issue! Today this plugin of v3 is released. This not compatible with v1. All APIs have been revamped. So I will close this issue. If you still have the same problem, please create a new Issue. Thank you.