confirmSetupIntent

fun confirmSetupIntent(activity: ComponentActivity, confirmSetupIntentParams: ConfirmSetupIntentParams, stripeAccountId: String? = this.stripeAccountId)

Confirm and, if necessary, authenticate a SetupIntent.

Parameters

activity

the Activity that is launching the payment authentication flow

confirmSetupIntentParams

a set of params with which to confirm the Setup Intent

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 confirmSetupIntent(fragment: Fragment, confirmSetupIntentParams: ConfirmSetupIntentParams, stripeAccountId: String? = this.stripeAccountId)

Confirm and, if necessary, authenticate a SetupIntent.

Parameters

fragment

the Fragment that is launching the payment authentication flow

confirmSetupIntentParams

a set of params with which to confirm the Setup Intent

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.