Year

2026

Gaming · Service marketplace

Duration

12+

Order state machine

Nine DB statuses; six surfaced to customers. Every transition emits a typed audit event.

UTB overview

An order moves through six customer-facing states: pending-payment → assignment-running → in-progress → completed (happy path); manual-assignment-required and failed are escape hatches. The DB carries three additional legacy/admin statuses (paid, cancelled, disputed) with explicit transition guards. Allowed-transition map is enforced server-side; unpaid cancelled sessions never enter the failure track. Audit events are written for every transition, with an actorKind tag (system / customer / staff).

Mechanics
  • pending-payment — Stripe Checkout session created.
  • assignment-running — payment confirmed, engine cycling eligible boosters.
  • manual-assignment-required — all rounds exhausted, admin steps in.
  • in-progress — booster accepted, anonymous Discord room live.
  • completed — delivery verified, ledger entry recorded, room archived.
  • failed — post-payment fulfilment failure, compensation path attached.
More deep dives

Got something
this size?

Big ambitions, we match the energy. Drop a brief — reply within one working day.