checkout-js
checkout-js copied to clipboard
feat(payment): STRIPE-183 persisting stripe components when reloads the page
What? STRIPE-183 & STRIPE-195
Persisting data to use when checkout is reloaded, to achieve this we are forcing to load again shipping and customer steps on checkout to refill Stripe components and preserve Stripe behavior, in addition to improving the user experience, we make these steps auto-skip once it finishes loading
Why?
For STRIPE-183, Link Enrollment Opt-In Disappears If Shopper Navigates Away From Checkout because the information is not persisting & for STRIPE-195 I want to allow shoppers whose email address is both enrolled in Link and has a merchant registered account to skip the sign-in prompt if they successfully authenticate with Link so that they are not asked to authenticate with two different accounts
Testing / Proof
VIDEO STRIPE-183 VIDEO STRIPE-195
Depends on
https://github.com/bigcommerce/checkout-sdk-js/pull/1649
@bigcommerce/checkout @bigcommerce/apex-integrations