Releases: braintree/braintree-web
Releases · braintree/braintree-web
v3.141.0
- Venmo
- Fix
SecurityErrorwhen initializing Venmo in a cross-origin iframe - Fix
cancelOnReturnToBrowserbeing incorrectly applied on Android, wherevenmoWindow.closedreturns a false positive during app-switch
- Fix
- PayPal Checkout v6
- Fix: Remove incorrect default
planType: 'UNSCHEDULED'value in billing agreement requests.planTypeis now only included when explicitly provided by the merchant, matching V5 behavior - Fix: Remove incorrect default
planType: 'UNSCHEDULED'value in billing agreement requests.planTypeis now only included when explicitly provided by the merchant, matching V5 behavior - Add V5 parity options to
createBillingAgreementSession:locale,landingPageType,enableShippingAddress,shippingAddressEditable, andriskCorrelationId - Add
createMessagesmethod for displaying PayPal promotional messaging using the<paypal-message>web component
- Fix: Remove incorrect default
- 3D Secure
- Add
applySmartAuthenticationoption toverifyCard
- Add
v3.140.0
- Venmo
- Pass
venmoRiskCorrelationIdas a url parameter asclient-metadata-id - Fix misnamed
riskCorrelationIdvariable 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
_handleWindowClosureto only auto-cancel whencancelOnReturnToBrowseristrue - Fix tokenization result detection in same-origin iframes by reading hash/params from
window.top - Fix
getUrlParamsto prefer top window URL in same-origin iframe contexts - Add polling de-duplication to prevent concurrent polling loops during tokenization
- Pass
v3.139.0
- PayPal Checkout v6
- Add
commitparameter tocreateOneTimePaymentSessionandcreateCheckoutWithVaultSessionto control button text and payment flow (defaults totruefor "Pay Now" behavior) - Add
onShippingOptionsChangecallback support for handling shipping option changes in checkout flow - Add
createPayLaterSessionmethod to enable PayPal Pay Later payments - Add PayPal Credit billing agreement session support: when
offerCreditis set increateBillingAgreementSession, 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
getDetailsmethod tofindEligibleMethodsresult for retrieving additional payment method details (e.g., countryCode, productCode) from the PayPal SDK - Fix bug where the
returnUrlandcancelUrlwere not being correctly passed through in thecreatePayment()function
- Add
v3.138.0
- PayPal Checkout v6
- Add
createCheckoutWithVaultSessionmethod to enable charging and vaulting in a single session
- Add
v3.137.0
- Alternative Payment Method
- Add support for Alternative Payment Method
crypto
- Add support for Alternative Payment Method
v3.136.0
- Venmo
- Add
riskCorrelationIdoption for custom risk correlation tracking
- Add
- PayPal Checkout v6
- Mitigating issue from the small window for transient activation in Safari
- Add findEligibleMethods
onShippingAddressChangeandonErrorare 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
- 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
- Instant Verification
- add
getAchMandateDetailsmethod
- add
- 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
- Hosted Fields
- Update supportedCardTypes docs
- Local Payment
- Add support for Local Payment
swish
- Add support for Local Payment
- 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