stripe/stripe-android

[Feature] Pass PaymentIntent to ExternalPaymentMethodConfirmHandler

azazellj opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

When payment is initialized, PaymentIntent is not passed to the callback, I must do API call to retrieve needed data.

Describe the solution you'd like

fun confirmExternalPaymentMethod(
        externalPaymentMethodType: String,
        billingDetails: PaymentMethod.BillingDetails,
        paymentIntent: PaymentIntent?,
)

Describe alternatives you've considered

Additional context

I'm doing an external payment and I must pass amount & currency into it.