authenticateSource
fun authenticateSource(activity: ComponentActivity, source: Source, stripeAccountId: String? = this.stripeAccountId)
Authenticate a Source that requires user action via a redirect (i.e. Source.flow is Source.Flow.Redirect.
The result of this operation will be returned via Activity#onActivityResult(int, int, Intent)}}
Parameters
activity
the Activity that is launching the Source authentication flow
source
the Source to confirm
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 authenticateSource(fragment: Fragment, source: Source, stripeAccountId: String? = this.stripeAccountId)
Authenticate a Source that requires user action via a redirect (i.e. Source.flow is Source.Flow.Redirect.
The result of this operation will be returned via Activity#onActivityResult(int, int, Intent)}}