Open GFean opened 3 years ago
Okay, I fixed that by adding
if(!options.getBoolean("payPal")){ //disable paypal dropInRequest.disablePayPal(); }
in my RNBraintreeDropInModule.java.
about credit-card option the statement for disabling this option was commented out somehow, commenting that in and changing hasKey function with getBoolean has helped.
@GFean I have no file called RNBraintreeDropInModule
EDIT: found it in my node modules. vs code wound not search it
Hi there, disabling payment options like - cardDisabled, paypal: false, googlePay: false, don't work in my case.. I think the package is just taking look at clientToken and showing whatever options u have activated in your braintree web platform, or am I doing something wrong ?