confirmPayment

Confirm and, if necessary, authenticate a PaymentIntent. Used for automatic confirmation flow.

Parameters

activity
the Activity that is launching the payment authentication flow
confirmPaymentIntentParams
stripeAccountId
Optional, the Connect account to associate with this request. By default, will use the Connect account that was used to instantiate the Stripe object, if specified.
fun confirmPayment(activity: Activity, confirmPaymentIntentParams: ConfirmPaymentIntentParams, stripeAccountId: String?)
Confirm and, if necessary, authenticate a PaymentIntent. Used for automatic confirmation flow.

Parameters

confirmPaymentIntentParams
fragment
the Fragment that is launching the payment authentication flow
stripeAccountId
Optional, the Connect account to associate with this request. By default, will use the Connect account that was used to instantiate the Stripe object, if specified.
fun confirmPayment(fragment: Fragment, confirmPaymentIntentParams: ConfirmPaymentIntentParams, stripeAccountId: String?)