Show Primer’s Drop-In Vault Manager.

Vault Manager is used to manage the customer’s payment methods stored in the Primer Vault.

Note that there are more options which you can set by passing your SDK settings in the configure function.

KOTLIN
fun showVaultManager(context: Context, clientToken: String)

Parameters

Example

Availing Vault Manager can be done using following code:

KOTLIN
class CheckoutActivity : AppCompatActivity() {
  // ...

  private fun showVaultManager(clientToken: String) {
    // 👇 Add this
    Primer.instance.showVaultManager(context, clientToken)
  }
}