bigcommerce / checkout-js

Optimized One-Page Checkout
MIT License
117 stars 358 forks source link

fix(checkout): CHECKOUT-8503 Disable steps on checkout page when order is being submitted #1988

Closed animesh1987 closed 2 months ago

animesh1987 commented 2 months ago

What?

Disable steps on checkout page when order is being submitted

Why?

On the checkout page, selecting “Place Order” and then immediately attempting to edit the Billing details will result in the payment gateway infinitely attempting to load, which causes confusion. Hence disable clicking on fields and sections while an order is being submitted.

Testing / Proof

https://github.com/user-attachments/assets/15916767-c804-4228-bec3-93ea49138a79

@bigcommerce/team-checkout