> checkout is broken, see app.faylee.app/s/k3x9a2
⏺ faylee - open_recording (MCP)(recording: "k3x9a2")
⎿ “Checkout spins forever after Place order” · 1:48 · 1 failed request, 2 errors
⏺ faylee - get_request (MCP)(recording: "k3x9a2", id: "14")
⎿ POST /api/orders → 500 {"error":"coupon_code must be a string"}
⏺ faylee - get_moment (MCP)(recording: "k3x9a2", at: "1:22")
⎿ Clicked “Place order” · coupon field empty · said “it just keeps spinning”
⏺ The coupon field was empty, so the order sent coupon_code: null and the server rejected it.
⏺ Update(src/checkout/submitOrder.ts)
⎿ Updated src/checkout/submitOrder.ts with 1 addition and 1 removal
40 items: cart.items,
41 - coupon_code: form.coupon,
41 + coupon_code: form.coupon || undefined,
42 total: cart.total,
⏺ faylee - add_comment (MCP)(recording: "k3x9a2", at: "1:22")
⎿ Posted: “Fixed in submitOrder.ts. An empty coupon was sent as null.”