setup
suspend fun setup(configuration: LinkPaymentLauncher.Configuration, coroutineScope: CoroutineScope): AccountStatus
Content copied to clipboard
Sets up Link to process the given Configuration.stripeIntent.
This will fetch the user's account if they're already logged in, or lookup the email passed in during instantiation.
Parameters
configuration
the LinkPaymentLauncher.Configuration, containing the parameters required to process a payment.
coroutineScope
the coroutine scope used to collect the account status flow.