Braintree JS SDK version 3.0.0 now generally available

240 views
Skip to first unread message

Mrak ⁠

unread,
Aug 11, 2016, 1:53:51 PM8/11/16
to braintree-sdk-announce
The next major version of our JS SDK is no longer in beta and is suitable for production use!

  • Some wrapped errors were inconsistently placed under the err.details property; they are now under err.details.originalError
  • Add a prefix to BraintreeError codes to prevent namespace collisions
  • PayPal
    • Return a PAYPAL_POPUP_CLOSED error code when the customer closes the popup
    • Return a PAYPAL_INVALID_PAYMENT_OPTION error code when PayPal options are invalid
    • Fix a bug where some locale codes were not accepted
    • Fix a bug where JPY could not be used as PayPal currency
    • Vault flows will automatically vault PayPal accounts if the client token used was generated with a customer id
  • Hosted Fields
    • Automatic input formatting has been disabled for some iOS and Android browsers in which it was broken
  • Apple Pay
    • Use error codes
  • Client
    • Errors are now always instances of BraintreeError
  • UnionPay
    • Add vault as an option to tokenize which allows cards to be vaulted on tokenization

Thanks!
The Braintree JS SDK team
Reply all
Reply to author
Forward
0 new messages