ADC-1042CriticalOpen
Checkout: coupon code is removed when user changes shipping method on iOS Safari
- Environment
- staging.example-shop.com, build 2.8.1
- Device
- iPhone 13, iOS 17.4, Safari
- Account
- test-buyer-03
- Found
- Manual regression, run #482
Steps to reproduce
- Add any product to the cart and go to checkout.
- Enter coupon code
WELCOME10and tap Apply. The 10% discount appears. - Change shipping from Standard to Express.
- Look at the order summary.
Expected
The coupon stays applied and the total updates with the new shipping cost.
Actual
The coupon disappears. The total goes back to full price. No message is shown.
Notes
Happens every time (5 out of 5) on iOS Safari. Does not happen on Chrome for desktop or Android. The network log shows the shipping request returns the cart without the discount field.
screen-recording.mp4network-log.harbefore-after.png
Impact: customers who change shipping lose their discount and may abandon checkout or contact support.