I want to let user to delete his saved payment cards I am using this package
"react-native-braintree-payments-drop-in": "^1.2.0"`
Code:
BraintreeDropIn.show({
clientToken: this.state.clientToken,
// I also add this but it is not showing me edit option in dropin
vaultManager: true
}).then(result => { ...
Is there something I am missing?
You have to create a "braintree customer" then store braintree.customer.id to your user object.
Then if you have a braintree customer id, you can generate a custom client token like me. Call this on your backend to generate one then use that in your Drop-in show({clientToken}) option field