braintree / braintree-web-drop-in

Braintree Drop-in for the web
MIT License
200 stars 124 forks source link

AuthenticationInsight seem not supported and impossible #925

Open nikolawannabe opened 5 months ago

nikolawannabe commented 5 months ago

General information

Issue description

3DS2 costs per transaction with Braintree. For our use case, we would like to only require 3DS2 if the card holder's country of origin requires it, and then, only if the transaction does not pass the exemption request (for < 30 euro transaction). According to the Braintree documentation, that is accomplished by calling AuthenticationInsight during the tokenize call. That is not exposed with dropin though and there's no passthrough to workaround it. The only way that we could decrease costs (as I can see) would be to fork the project and add this. Am I mistaken? Given how integrated 3DS is, it seems a pretty significant oversight because only EU countries for the most part need SCA and for the rest it would be a wasted spend.

jplukarski commented 4 months ago

Hello @nikolawannabe ,

Thanks for submitting this suggestion. You are correct that this is not a current supported feature in the Braintree Web Drop-In. Your best solution would be to integrate ThreeDSecure for cards with our Hosted Fields component directly.

I'm going to keep this issue open and add the enhancement label on this. I've also make a task in our backlog to look into adding this. For internal tracking -> 121

Alternatively, we do accept PRs from outside sources. Instead of forking the repo and worrying about not staying synced with future updates we make to this library, you are more than welcome to open a PR directly on this repo and we will take a look.

Thanks again for your submission and let us know if you have any other questions.