handleNextActionForSetupIntent

fun handleNextActionForSetupIntent(activity: ComponentActivity, clientSecret: String, stripeAccountId: String? = this.stripeAccountId)

Handle next_action for a previously confirmed SetupIntent. Used for manual confirmation flow.

Parameters

activity

the Activity that is launching the payment authentication flow

clientSecret

the client_secret property of a confirmed SetupIntent object

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

Handle next_action for a previously confirmed SetupIntent. Used for manual confirmation flow.

Parameters

fragment

the Fragment launching the payment authentication flow

clientSecret

the client_secret property of a confirmed SetupIntent object

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.