Commit Graph

7 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 e3ee5ef019 feat(workflows): add atomic audited order expiry sweeps
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-08 22:12:43 +05:30
mihir 490c3a0155 feat(analytics): add bounded commerce activity reports
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-07 18:31:18 +05:30
mihir de82fa1af6 feat(cart): add private idle cart recovery
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-07 12:05:51 +05:30
mihir 42044e84f6 feat(discounts): bind immutable coupons to versioned campaign drafts 2026-10-06 17:28:39 +05:30
mihir 27a1172683 feat(data): add immutable pricing and transactional event migrations 2026-09-11 16:59:54 +05:30
mihir 6401d2c1c2 feat(data): add append-only checkout migrations and snapshot integrity 2026-09-11 00:28:42 +05:30