resetCustomer

fun resetCustomer(context: Context)

Deletes all persisted authentication state associated with a customer.

You must call this method when the user logs out from your app. This will ensure that any persisted authentication state in PaymentSheet, such as authentication cookies, is also cleared during logout.

Parameters

context

the Application Context.