Closed Andreyco closed 6 years ago
Fixes #7
Looks great! I'll merge it and publish it as v4.0.0 since it seems to be a breaking change. Thanks!
You're welcome.
Yep, breaking change, unfortunately. I post a note here, I will add better error responses later ;)
getCardNonce
accepts single map argument instead of several arguments.This change let's us validate additional fields, if enabled on Braintree backend - e.g. address, ZIP, cardholder name, ...