
🎟️ Events, Ticketing & Creators · State Machine
The states of a ticket order, from seat hold through payment to use at the event, including refunds when an event is cancelled.
Drawing diagram…
State machine for a ticket order: SeatsHeld, PaymentPending, Paid, Issued, Transferred to another fan, Used at check-in, HoldExpired if payment isn't completed in 8 minutes, and Refunded when the event is cancelled or a refund is approved.
stateDiagram-v2 [*] --> SeatsHeld SeatsHeld --> PaymentPending: Checkout started SeatsHeld --> HoldExpired: 8 minutes passed PaymentPending --> Paid: Payment success PaymentPending --> HoldExpired: Payment failed Paid --> Issued: Tickets sent Issued --> Transferred: Sent to another fan Transferred --> Used: Scanned at gate Issued --> Used: Scanned at gate Issued --> Refunded: Event cancelled Transferred --> Refunded: Event cancelled Used --> [*] Refunded --> [*] HoldExpired --> [*]
A ticketing platform built for big on-sales: a virtual waiting room, seat holds, anti-bot checks, payments and mobile tickets with rotating QR codes.
How attendees get into an event quickly: QR scan at the gate, validity check that works even if the internet drops, and a live attendance count.
A platform where creators sell monthly memberships with exclusive posts, videos and community chat, and get paid out monthly.
How user posts on a social or creator platform are moderated: automatic checks, human review of doubtful content, and appeals.
Tables for an event platform: organisers, events, venues, ticket types, orders, tickets and check-ins.
Where a mid-sized creator's monthly income comes from and where it goes, in thousands of rupees, to plan a sustainable creator business.