Skip to content

Releases: braintree/braintree-web

v3.141.0

23 Apr 21:54

Choose a tag to compare

  • Venmo
    • Fix SecurityError when initializing Venmo in a cross-origin iframe
    • Fix cancelOnReturnToBrowser being incorrectly applied on Android, where venmoWindow.closed returns a false positive during app-switch
  • PayPal Checkout v6
    • Fix: Remove incorrect default planType: 'UNSCHEDULED' value in billing agreement requests. planType is now only included when explicitly provided by the merchant, matching V5 behavior
    • Fix: Remove incorrect default planType: 'UNSCHEDULED' value in billing agreement requests. planType is now only included when explicitly provided by the merchant, matching V5 behavior
    • Add V5 parity options to createBillingAgreementSession: locale, landingPageType, enableShippingAddress, shippingAddressEditable, and riskCorrelationId
    • Add createMessages method for displaying PayPal promotional messaging using the <paypal-message> web component
  • 3D Secure
    • Add applySmartAuthentication option to verifyCard

v3.140.0

09 Apr 18:31

Choose a tag to compare

  • Venmo
    • Pass venmoRiskCorrelationId as a url parameter as client-metadata-id
    • Fix misnamed riskCorrelationId variable in the Venmo createDesktop flow
    • Fix Android Chrome in iframes to use breakout strategy instead of window.open
    • Fix duplicate app-switch attempts when both hash-change and manual-return flows are enabled
    • Fix return URL handling for non-default browsers on Android
    • Fix _handleWindowClosure to only auto-cancel when cancelOnReturnToBrowser is true
    • Fix tokenization result detection in same-origin iframes by reading hash/params from window.top
    • Fix getUrlParams to prefer top window URL in same-origin iframe contexts
    • Add polling de-duplication to prevent concurrent polling loops during tokenization

v3.139.0

01 Apr 16:47

Choose a tag to compare

  • PayPal Checkout v6
    • Add commit parameter to createOneTimePaymentSession and createCheckoutWithVaultSession to control button text and payment flow (defaults to true for "Pay Now" behavior)
    • Add onShippingOptionsChange callback support for handling shipping option changes in checkout flow
    • Add createPayLaterSession method to enable PayPal Pay Later payments
    • Add PayPal Credit billing agreement session support: when offerCredit is set in createBillingAgreementSession, the SDK now routes to PayPal's credit-specific billing agreement session method
    • Fix bug where the returnUrl and cancelUrl were not being correctly passed through in the createPayment() function
    • Add getDetails method to findEligibleMethods result for retrieving additional payment method details (e.g., countryCode, productCode) from the PayPal SDK
    • Fix bug where the returnUrl and cancelUrl were not being correctly passed through in the createPayment() function

v3.138.0

11 Mar 18:09

Choose a tag to compare

  • PayPal Checkout v6
    • Add createCheckoutWithVaultSession method to enable charging and vaulting in a single session

v3.137.0

04 Mar 16:13

Choose a tag to compare

  • Alternative Payment Method
    • Add support for Alternative Payment Method crypto

v3.136.0

10 Feb 20:07

Choose a tag to compare

  • Venmo
    • Add riskCorrelationId option for custom risk correlation tracking
  • PayPal Checkout v6
    • Mitigating issue from the small window for transient activation in Safari
    • Add findEligibleMethods
    • onShippingAddressChange and onError are no longer passed to the PayPal SDK when not supplied by the user
  • Dependencies
    • Revert update of @braintree/event-emitter to 2.0.2

v3.135.0

03 Feb 22:26

Choose a tag to compare

  • Adding PayPal Checkout v6 component
  • Hosted Fields
    • Add 8-digit BIN support verification
  • Remove Bower package manager & all references to it
  • Update dependencies
    • inject-stylesheet to 7.0.0
  • Update Node to v24
  • Update dependencies
    • @braintree/event-emitter to 2.0.2
    • @braintree/uuid to 2.0.0

v3.134.0

11 Dec 21:00

Choose a tag to compare

  • Instant Verification
    • add getAchMandateDetails method
  • Hosted Fields
    • Change regex pattern for expirationDate field
    • Adding CSP meta tag with SRI hashes
  • Documentation
    • Add cardinaltrusted.com to required Content-Security-Policy directives, when using 3D Secure

v3.133.0

19 Nov 17:26

Choose a tag to compare

  • Hosted Fields
    • Update supportedCardTypes docs
  • Local Payment
    • Add support for Local Payment swish
  • Venmo
    • Fix iOS mobile web polling issue due to Apple's cross-domain restrictions
    • Fix Android Webview opening up second tab when it should have been redirecting
    • Fix Android Webview not breaking out of iframe

v3.132.0

16 Oct 20:29

Choose a tag to compare

  • API Latency Logging
    • Added FPTI logs to track the performance metrics