bigcommerce / checkout-js

Optimized One-Page Checkout
MIT License
112 stars 342 forks source link

refactor(payment): PAYPAL-4283 removed unnecessary executePaymentMethodCheckout on sign in and sign up #1883

Closed serhii-tkachenko closed 1 month ago

serhii-tkachenko commented 1 month ago

What?

Removed unnecessary executePaymentMethodCheckout on sign in and sign up related to Fastlane experience

Why?

PayPal Fastlane does not support store members experience, so there is no need to call executePaymentMethodCheckout anymore

Testing / Proof

Unit tests Manual tests CI

The result of the work: On sign up and sign in customer does not get Fastlane experience

https://github.com/bigcommerce/checkout-sdk-js/assets/25133454/2f182853-f98d-4d0a-b0fa-cbc54a689ccf

https://github.com/bigcommerce/checkout-sdk-js/assets/25133454/bcaf0e59-29b0-4752-b86f-503e22f41b8e