stripe / stripe-js

Loading wrapper for Stripe.js
https://stripe.com/docs/js
MIT License
633 stars 157 forks source link

[BUG]: confirmTwintPayment is missing from Stripe interface #682

Open bendemartin97 opened 4 days ago

bendemartin97 commented 4 days ago

What happened?

Version: 3.5.0, but also 4.10.0 Here’s a polished version:

I am currently implementing support for Twint payments using the PaymentIntent API, following the custom integration guidelines provided here:
Stripe Documentation: Confirm Twint Payment.

While the confirmTwintPayment method is available via Stripe.js, its type is not defined in the Stripe interface provided by the @stripe/stripe-js package.

Environment

No response

Reproduction

No response

brendanm-stripe commented 1 day ago

This was added in #666 and has been included since v.4.9.0. Are you sure you updated to 4.10.0? It should not be missing there.