diff --git a/android/src/main/java/tech/power/RNBraintreeDropIn/RNBraintreeDropInModule.java b/android/src/main/java/tech/power/RNBraintreeDropIn/RNBraintreeDropInModule.java index 334dd59..41a05fa 100644 --- a/android/src/main/java/tech/power/RNBraintreeDropIn/RNBraintreeDropInModule.java +++ b/android/src/main/java/tech/power/RNBraintreeDropIn/RNBraintreeDropInModule.java @@ -81,6 +81,10 @@ public void show(final ReadableMap options, final Promise promise) { if(options.getBoolean("cardDisabled")) { dropInRequest.disableCard(); } + + if(!options.getBoolean("savePaymentDetails")) { + dropInRequest.vaultCard(false); + } if (options.hasKey("threeDSecure")) { final ReadableMap threeDSecureOptions = options.getMap("threeDSecure"); if (!threeDSecureOptions.hasKey("amount")) {