Flow: Match Cancellation¶
Actor¶
System (automated) + Admin
Preconditions¶
- Match is officially cancelled
- Admin initiates cancellation process
Flow Steps¶
-
Admin Initiates
- Admin logs into admin portal
- Navigates to match management
- Selects match
- Clicks "Cancel Match"
- The dialog shows how many tickets are affected and what the cancellation will refund: every card order's total less what was already refunded or is owed
- Enters cancellation reason
- Double confirms cancellation; a second request (another tab) is refused
-
System Processing
- The match is cancelled at once and the admin gets an answer at once; everything below runs in the background (ADR 0043). The match page shows "Otkazivanje utakmice je u tijeku" with the current step and its progress (tickets, Obračuni, refunds, credit notes, notices) and reloads when it is done; the admin may leave the page meanwhile
- If the work stops (an error, a restart), the page says "Otkazivanje utakmice nije dovršeno" with the reason and a "Pokušaj ponovno" button, which goes on from where it stopped; nobody is refunded twice and no notice goes out twice
- System identifies all sold tickets
- System identifies all orders
- System calculates refund amounts — full refund of ticket price + service fee (the buyer is made whole; HNS absorbs the fee since cancellation is not the buyer's fault)
- System refunds without an approval step
-
Refund Processing
- For card payments:
- System initiates payment gateway refunds, each carrying its own id to Stripe
- Refunds process within 5-10 business days
- A refund Stripe refuses stays pending: the system retries it every 15 minutes, the refunds tried longest ago first, and "Ponovi povrat" on the report retries it at once. Before each retry Stripe is asked whether it made the refund after all, so none goes out twice
- When the charge has the money back without a refund of ours (finance refunded it in Stripe's dashboard), the retry, or Stripe's notice of the refund, closes it as "vraćeno izvan sustava" and sends nothing
- A super admin can close a pending refund whose money went back some other way: "Označi kao vraćeno" on the report, with a required note that goes to the audit log; nothing goes to Stripe and no new document is issued, since the credit note exists already
- Every paid order of the match is refunded, however many
- For deferred payments, Petrol sales and Otpremnice (no buyer paid HNS):
- System cancels the orders; nothing is refunded
- Petrol and quota owners owe nothing for the match: a draft Obračun is cancelled, and a sent or paid one stays on record with nothing due, for accounting to settle
- For free tickets:
- Marked as cancelled, no refund
-
Notifications
- Email and push notification sent to all ticket holders
- Subject: "Match Cancelled: Croatia vs Portugal"
- Explains cancellation reason
- Confirms refund status and timeline
- Provides customer support contact
-
Ticket Invalidation
- All QR codes invalidated
- Digital wallet passes updated (cancelled status)
-
Loyalty Points
- Loyalty points not calculated for cancelled matches
-
Reporting
- The cancelled match's page shows its cancellation report, above the tabs
- Shows total tickets cancelled
- Shows what was refunded (completed refunds only), of it how much was returned outside the system, and the refunds Stripe refused, with what is still owed; each refused one is listed with its order, "Ponovi povrat" and, for a super admin, "Označi kao vraćeno"
- Shows the orders cancelled with nothing to return, by who pays HNS (Petrol, quota owner, accounting, free)
- Shows the e-mails and push notifications sent
- Downloads as Excel: the summary, every refund, and the orders without a refund
### Alternative Flows
A1: Match Rescheduled
- If match is rescheduled (not cancelled)
- System reissues tickets with new date
- QR codes remain valid
- Notification sent with new date
- Refund option via customer support offered to those who can't attend new date