Every bug chaos can plant
Shipping is charged once per cart line instead of once per order, inflating the total.
coupon-ignoredThe coupon banner says the code applied, but the quote is computed without it.
dead-pay-buttonThe Pay button is type=button, so clicking it never submits the payment form.
stale-cartRemove mutates the cart array in place, so React never re-renders and the removed item lingers.
validation-bypassAny card starting with 4242 skips name, email and card validation on client and server.
double-submitThe Pay button stays enabled while processing and each click gets a new idempotency key, so a double click creates two orders.
pay-500The pay endpoint JSON-parses the coupon code, which throws for any real code and returns HTTP 500.
off-by-one-qtyThe + button increments the cart line one row below the one clicked.
currency-formatCents are not zero-padded, so $58.00 renders as $58.0 and $4.00 as $4.0.
confirmation-amountThe confirmation page reports the pre-discount subtotal as the amount charged.
fixed-coupon-ignoredFixed-amount coupons are divided by 100 a second time, so HOLIDAY5 takes off 5 cents.
stale-quote-on-qtyThe price quote is memoised on the number of cart lines instead of the lines themselves, so + and - change nothing on screen until an item is added or removed or a coupon is applied.