CustomerSessionProvider
CustomerSessionProvider provides the necessary functions
Functions
Link copied to clipboard
Creates an IntentConfiguration that is used when configuring the intent used when displaying saved payment methods to a customer.
Link copied to clipboard
abstract suspend fun providesCustomerSessionClientSecret(): Result<CustomerSheet.CustomerSessionClientSecret>
Provides the CustomerSessionClientSecret that will be claimed and used to access a customer's saved payment methods.
Link copied to clipboard
Provides the SetupIntent
client secret that is used when attaching a payment method to a customer.