Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Feature: 3DS method improvements #38

Merged

Conversation

audrius-sav
Copy link
Contributor

Issues I came across with:

  • you had to pass clientToken to run3DSecureCheck() method. I don't think it should be mandatory, because if any of the Braintree methods were run before, Braintree client was already initialized. So fixed it in both iOS and Android and handled case where promise is rejected if no token is passed
  • according to TS you had to pass email, firstname, lastname and other 3DS fields, but actually they're not mandatory, you should just pass as many as you have. Made them optional

@audrius-sav
Copy link
Contributor Author

@vasylnahuliak @aris-paskalov Hey, I made a few changes to 3DS method, please review when you can 🙏

@vasylnahuliak vasylnahuliak merged commit 8182f27 into ekreative:master Oct 19, 2023
@vasylnahuliak
Copy link
Collaborator

@audrius-sav Thanks!

Released in v2.4.0 https://github.com/ekreative/react-native-braintree/releases/tag/v2.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants