stripe / stripe-js

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

[BUG]: confirmMultibancoPayment missing from interface Stripe #645

Open peichincc opened 2 months ago

peichincc commented 2 months ago

What happened?

Version: @stripe/stripe-js 4.4.0 Others: @stripe/react-stripe-js 2.8.0

I am implementing Multibanco with the PaymentIntentent API, using the custom integration defined here: https://docs.stripe.com/js/payment_intents/confirm_multibanco_payment and also here: https://docs.stripe.com/payments/multibanco/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#submit-payment

This method confirmMultibancoPayment exists on https://js.stripe.com/v3, but the type is not defined in the Stripe interface from the @stripe/stripe-js package: https://github.com/stripe/stripe-js/blob/aa7cbe70357e9242c12bcfbe3abb67233f547125/types/stripe-js/stripe.d.ts#L28

Environment

No response

Reproduction

No response

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.