Commit Graph

3 Commits

Author SHA1 Message Date
mihir 76574a5c71 feat(checkout): cash on delivery and manual UPI orders
continuous-integration/drone/push Build is passing Details
Checkout takes an optional paymentMethod. COD orders are confirmed and
deduct stock at once; UPI_MANUAL orders hold stock for 48 hours while the
customer reports a UTR and staff confirm the payment. Paid checkouts
require a pricing policy so the payable total is known.

Staff confirm, ship (with courier/tracking note) and deliver orders.
Cancelling a confirmed order restocks it; shipped orders cannot be
cancelled. Status changes are kept in an append-only history and a
database trigger enforces the allowed transitions. Coupon limits now
count confirmed, shipped and delivered orders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:45:45 +05:30
mihir 2ee2e7dd1f docs(operations): document blueprint boundaries and acceptance tests 2026-09-11 16:59:58 +05:30
mihir 812b75279a docs(checkout): document pricing boundary and verification evidence 2026-09-11 00:28:46 +05:30