Taracque / cordova-plugin-braintree

:credit_card: A Cordova plugin for the Braintree mobile payment processing SDK.
MIT License
27 stars 42 forks source link

Is 3D Secure support? #9

Closed championboylay closed 7 years ago

championboylay commented 7 years ago

I would like to know, does cordova-plugin-braintree, plugin support 3D secure? I found 3dsecure branch and how can it test it?

Taracque commented 7 years ago

Register a Braintree Sandbox account and you can use it for test. https://www.braintreepayments.com/sandbox

championboylay commented 7 years ago

Is there a way to check a card is enrolled in a 3D Secure program? At javascript, I can check a card is enrolled or not by using following code. client.verify3DS({ amount: 500,creditCard: NONCE_FROM_DROPIN_OR_CUSTOM_INTEGRATION }, .........

When a card is enrolled in a 3D Secure, customer will be prompted to authenticate using their bank login credentials. It does not prompted when I am using plugin.

championboylay commented 7 years ago

I found it on 3dsecure branch. I have check out 3dsecure branch and it is worked as expected.

BraintreePlugin.presentThreeDSecureVerification(secureoptions, function(result){..... })