bigcommerce / checkout-sdk-js

BigCommerce Checkout JavaScript SDK
MIT License
132 stars 215 forks source link

fix(payment): PAYPAL-4379 fixed the issue with Braintree Fastlane initialization process #2568

Closed serhii-tkachenko closed 2 months ago

serhii-tkachenko commented 2 months ago

What?

Fixed the issue with Braintree Fastlane initialization process by changing provided initial method id with valid payment id for current flow

Why?

The main problem was due to A/B testing process where braintreeacceleratedcheckout payment method does not load on the page, so we should use braintree payment method for such purposes. There was a mistake in one of the prev PRs.

Testing / Proof

Unit tests Manual tests CI