feat(checkout): CHECKOUT-10150 add billing same as shipping toggle#3154
Conversation
|
cursor review |
e6f6d14 to
882dba7
Compare
|
cursor review |
882dba7 to
7196092
Compare
7196092 to
f187c73
Compare
|
cursor review |
|
cursor review |
|
cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
1 issue from previous review remains unresolved.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 43a1019. Configure here.
Yes, we block user from submitting order if billing address is invalid or the update API fails |
b2bf303 to
31af17c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 31af17c. Configure here.
…ight and remove unnecessary comments
9579eb1 to
d18f5ab
Compare
|
checkout-js deployed to Integration US |
|
checkout-js deployed to Staging US |
⚡️ Lighthouse results🖥️ Desktop:
📱 Mobile:
|
|
checkout-js deployed to Production US |

What/Why?
Rollout/Rollback
Revert this PR.
Testing
CHECKOUT-10151.mov
Note
Medium Risk
Changes billing address persistence and order-submit gating on the payment step; incorrect toggle or copy-to-billing behavior could place orders with wrong billing data.
Overview
For themeV2, the “same as shipping address” control moves from the shipping step into the payment step billing block, with checkout-level state wired through
CheckoutPage→ payment components.When the toggle is on, billing fields collapse, place-order pre-save skips manual billing persistence, and checking the box copies the shipping address to billing (with revert + error if
updateBillingAddressfails). The shared checkbox supports a payment-specific label, can be disabled while billing updates, and stays hidden for Amazon Pay and when capabilities hide it.Shipping no longer shows the checkbox under themeV2. A new locale string supports the shorter payment-step label.
Reviewed by Cursor Bugbot for commit d18f5ab. Bugbot is set up for automated code reviews on this repo. Configure here.