Skip to content

Build an Event Ticketing Platform

Davor Minchorov•Advanced•18 to 26 weekends•October 29, 2026

A ticketing company has outgrown the one application it runs on: on its biggest on-sale it sold 212 seats that did not exist. You will build the platform behind a ticket on-sale, from a fair queue and seat holds through payment, tickets at the door, refunds and organiser payouts, and prove that no seat is sold twice in a simulated on-sale with failures injected.

The brief

The client

I run a ticketing company that sells for 140 organisers and venues, about 3,500 events a year, on one application with one database. During an arena on-sale for 12,000 seats, 40,000 people were in checkout within a minute and the payment step slowed down. Buyers who were sent to their bank to approve the card had their seats released while they waited, the seats went to the next person in line, and about 200 of the first buyers paid for seats that had already been resold.

Separately, our code checked whether a seat was left and wrote the sale in a second step, so on the busiest second two buyers were each told they had the last seat, 12 times over. We sold 212 seats that did not exist, emailed 212 people to apologise and refunded them by hand over two days, and the organiser has not booked with us since. I need the last seat to go to exactly one buyer, a payment that finishes late to be handled by a rule and not by luck, and a way to show an organiser, to the cent, what they are owed and why.

The problem

On the busiest second of the on-sale, two buyers were each told they had the last seat, and it happened 12 times. A seat is held for a buyer for a fixed 10 minutes, and a payment can finish after that, because the bank's approval step and the payment processor's confirmation both take unpredictable time and the confirmation can arrive late or twice. The 200 buyers who paid for seats that had already been resold are the result.

Browsing, queueing, checkout and the organisers' reports all slow down together, so the on-sale spike makes search slow for people who are only looking. When a show is cancelled, refunds go out by hand from a spreadsheet, and the organiser's payout is not held, so the money has already left by the time the refunds are due. A card dispute can arrive long after the sale and takes funds from our account before anyone has looked at the evidence, even though the door scan log might have answered it.

The client's name and figures are invented for this brief; the rules and the failures are ones that real businesses of this kind work with.

The spec

Requirements

  • Let an organiser publish a show with several ticket types, each with a capacity, a price rule and a sales window in the venue's local time.
  • Let an attendee search shows by date, place and category and see whether tickets are available, and keep doing so while checkout is under load or down.
  • Admit buyers to a sale fairly: presale codes for registered fans, a randomised queue for everyone who joined before the sale opened, and 100 admissions a second per show.
  • Hold seats for a buyer for 10 minutes, never sell more than a ticket type's capacity, and return the seats of an abandoned checkout.
  • Show the all-in price, including every mandatory fee, before the buyer commits, and charge exactly that amount, with bank approval when the bank requires it.
  • Settle a payment that finishes after its hold expired, a processor message that arrives twice and one that arrives out of order, without selling a seat twice or taking money for no ticket.
  • Issue tickets whose codes cannot be reused from a screenshot, let a holder transfer a ticket, and admit each ticket at the door once.
  • Cancel or postpone a show, cut a ticket type's capacity after sales began, refund buyers, and answer a card dispute from the platform's own records.
  • Pay each organiser what they are owed, hold the money until the show has happened, recover refunds and disputes that arrive after payout, and reconcile to the cent against the processor's settlement.
  • Let an operator trace one order from start to finish, finish a stuck order once its cause is fixed, slow or pause admission, and check the platform's numbers with one command.

Deliverables

  • Your repository starts the whole product with one command, with pretend buyers, organisers, door scanners and a pretend payment processor that you build, and a place where every email the platform sends can be read.
  • A README that takes a reviewer from a fresh clone to a purchased ticket admitted at a door in 15 minutes, and lists the command that runs each test the brief asks for.
  • A way to run a sale day faster than real time, and to cause the failures the brief names: processor messages that arrive late, twice or out of order, a bank step that fails or never answers, a refund that fails once, a fraud warning, a dispute, a scanner that cannot reach the platform, and any one capability stopped or replaced.
  • Organiser-facing documentation for publishing a show, how a sale window is read in the venue's local time, how fees and refunds are computed and rounded, and how to check a payout statement line by line.
  • A short note on what is erased and what is kept when a buyer asks to be erased.
  • A test suite, plus the results of the simulated on-sale from the final Phase committed to your repository with the seed and the failure schedule that produced them.
  • An operations note stating what an operator can do: find everything that happened to one order, finish a stuck order once its cause is fixed, slow or pause admission for a show, and confirm that the platform's numbers agree.

Out of scope

  • Numbered seats and seat maps. Choosing a specific seat adds geometry and per-seat contention; ticket types that share a limited number of seats already carry the contention problem.
  • Dynamic pricing. It needs a disclosure rule to be testable and is a pricing topic; fixed prices with early-bird changes cover price movement over time.
  • A resale marketplace. Resale caps differ by country, so a resale rule would need a jurisdiction the brief does not fix; transfer between people is enough.
  • Real payments, a real processor account and card-data compliance. A processor you build keeps every Checkpoint runnable offline.
  • Bot detection beyond fairness controls. One queue place per buyer, presale codes and a per-buyer limit can be tested; telling a bot from a person is an arms race.
  • Buyer accounts and logins. A buyer arrives with an ID that the pretend buyers supply, so the brief stays on tickets and money.
  • Admitting people at the door when the platform cannot be reached. A decision about who may enter needs the platform's answer, so a scanner that cannot reach it admits nobody.
  • Apps, mobile wallets and door hardware. Pretend phones and scanners stand in for them.
  • Tax on fees and more than one currency. Both change every amount without teaching anything new about it; everything is in euros.
  • Fire-code and accessibility seating rules. They differ by venue and country, and ticket types with a limited number of seats do not model them.
  • Front ends for organisers and attendees, and live sales dashboards. The brief checks behaviour through requests and the pretend buyers, organisers and scanners.
  • Kubernetes or cloud deployment. Everything runs on one machine.

Architectural constraints

  • Amounts are in euros and exact to the cent. A service fee of 8% of the ticket price rounds half up to the cent, and the processing fee on a payment is 1.5% of the amount charged plus 25 cents, rounded half up once for the whole payment.
  • A sale window or a door time is read in the venue's own time zone. A local time that does not exist because the clocks skipped forward means the first instant after the gap, and a local time that happens twice means the first of the two.
  • The platform's own calendar days and months, such as the end of the month for clawback invoices, follow Europe/Amsterdam.
  • No card number is ever stored or logged anywhere.
  • Never more tickets are sold than a ticket type's capacity, and no buyer pays for a ticket that does not exist: every successful payment ends in a ticket or in a full refund.
  • A hold lasts 10 minutes and is never extended. A refunded seat is never returned to sale.
  • A ticket is admitted at most once. A scanner that cannot reach the platform shows "cannot verify" and admits nobody.
  • The email address a ticket is transferred to is used for that one email and not kept.
  • A statement that has been issued never changes. A later refund, dispute or clawback appears on a later statement.
  • When a buyer asks to be erased, nothing happens while the show is still ahead or a dispute is open. Once the show is over and no dispute is open, the buyer's name and email are removed. Orders, payments, tickets, scans and money records stay, identified by ID, for 7 years, because Dutch tax rules oblige the company to keep its business records for 7 years. That duty is the client's own.
  • With one capability stopped, the others that do not need it keep working. With checkout stopped, search, event pages and the queue still work and a checkout request is refused within 5 seconds. With payment stopped, buyers can still search, queue and hold seats, and orders already started wait for payment. With tickets stopped, payments and sales continue and the tickets and their emails arrive when it returns. With payouts stopped, sales and door entry continue and statements catch up.
  • Replacing one capability during a live sale loses no hold, order or payment, and the others keep serving.

Prerequisites

You have finished an intermediate project or have equivalent experience. Any language and stack will do. You have built an application with a database, and you are comfortable running several processes side by side on your own machine. You do not need to have handled payments before, and you do not need to know how a ticketing company sells a show; the first Phase explains the business and the words the brief uses, and the Checkpoints explain bank approval and processor behaviour as they come up. Having once sold the same thing twice, or chased a bug that only showed up when two requests arrived in the same millisecond, will make most of this brief feel familiar.

Create a free accountSign in

Free to start. An account is what keeps track of the checkpoints you finish.

Phase 1

Learn the sale and start the product

Produces the written understanding of the client's sale, money and clock rules, and a product that starts with one command and can move its clock. No business logic is built yet.

Research

Research

Implementation

Architectural walkthrough

How a ticketing company sells a show

The company sells tickets for 140 organisers and venues, about 3,500 events a year. An organiser publishes a show with one or more ticket types. Each type has its own capacity, price rule and sales window, and the window is read in the venue's local time. Attendees search for shows by date, place and category, and see whether tickets are available.

A big show goes on sale at one moment, and tens of thousands of people arrive together. The company lets them in fairly: registered fans can use a presale code, everyone who joined the queue before the sale opened is placed in random order, and buyers are admitted at a set rate. A buyer who is admitted gets their seats held while they pay. The price they see includes every mandatory fee, and the card payment may send them to their bank to approve it.

After payment the buyer gets a ticket with a code, can transfer it to someone else, and shows it at the door, where it is scanned. The company pays each organiser what they are owed after the show, and handles cancelled and postponed shows, refunds and card disputes.

The words this brief uses:

  • On-sale: the moment a show's tickets become available to buy.

  • Ticket type: a category of ticket for one show, with its own capacity, price rule and sales window. Several types can share a limited number of seats.

  • Presale code: a code that lets a registered fan buy before the general sale.

  • Randomised queue: the waiting line for a sale. Everyone who joined before it opened is placed in random order, and later arrivals are served in order of arrival.

  • Hold: seats kept for one buyer for 10 minutes while they pay.

  • All-in price: the price including every mandatory fee, shown before the buyer commits. The buyer is charged exactly this amount.

  • Bank approval: the step where the buyer's bank asks the buyer to approve a card payment. How long it takes is unpredictable.

  • Door scan: checking a ticket's code at the venue entrance. A ticket is admitted once.

  • Payout statement: the account of what an organiser is owed and why. Refunds and disputes that arrive after payout are recovered later, which is called a clawback.

  • Dispute: a buyer asking their bank to take a card payment back. The bank takes the money before anyone has seen the evidence.

Why the rules and the clock come first

On the arena on-sale, 12,000 seats went on sale at 10:00 and 40,000 people were in checkout within a minute. Twelve times, two buyers were each told they had the last seat. About 200 buyers were sent to their bank to approve the card, lost their held seats while they waited, and paid for seats that had already been resold. The client apologised to 212 buyers and refunded them by hand over two days, and the organiser has not booked a show since.

None of those failures came from a hard feature. Each one came from a rule that nobody had written down: what a buyer is told about the last seat, what happens to a payment that finishes after the seats are gone, and which clock decides when a hold ends. A product built before those rules are worked by hand gets them wrong in small ways that surface in front of buyers. A fee rounded per ticket instead of per payment is off by a cent on every multi-ticket order, and the organiser finds it when checking a statement line by line. A sale window read in UTC opens an hour early for a Berlin show in winter. A late payer with no defined outcome is the 200 buyers again.

The clock is the second problem. A hold lasts 10 minutes, a bank wait lasts up to 6, a postponed show has 90 days to get a new date and an organiser is paid 72 hours after the show ends. If the product can only be tested in real time, none of those rules is tested before an on-sale exercises them for the first time. A product that needs a manual sequence of steps to start has a quieter version of the same problem, because nobody reruns its tests.

Phase 2

Put a show on sale

Produces shows with venues and ticket types, sale windows read in the venue's local time, prices that change on a schedule, and publishing that cannot half-happen. No seats, search or buying yet.

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

An organiser's schedule is only as good as the instant the product reads it at. A sale window typed as 10:00 in Berlin and read as UTC opens an hour early in winter or an hour late in summer. The first buyers are then either shut out of a sale that has started, or let into a presale that the organiser meant to keep closed. Twice a year a venue's local clock also skips or repeats an hour, and a rule with no answer for that picks one silently.

A price that changes at the wrong instant charges some buyers the old tier and others the new tier for the same moment. The client refunds the difference by hand and the organiser stops trusting the schedule it set. A schedule that an organiser can edit after buyers have seen it breaks the same trust from the other side.

Publishing a show is several steps, and the process can die between any two of them. If it does, an attendee can see a show with some of its ticket types missing, or the organiser believes the show is live while nobody can buy. Neither shows up as an error. The organiser finds out when buyers phone.

Phase 3

Hold and sell seats

Produces seats that can be held for 10 minutes, returned when the hold ends, sold once and cut in capacity after sales began, with a test that the last seat goes to one buyer. Payment is a stand-in here, and real payment comes in a later Phase.

Implementation

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

On the busiest second of the arena on-sale, two buyers were each told they had the last seat. It happened 12 times. Each of the 12 meant a buyer who had been promised a seat that was already sold, an apology, and a refund made by hand. The check for a free seat and the sale of that seat happened as two separate moments, and with 40,000 people arriving within a minute the gap between them was wide enough for two requests to fit.

The second failure is quieter. Buyers who hold seats and then leave keep those seats out of sale, so a show looks sold out while the room is half empty, and the organiser loses sales that would have happened. Seats returned twice produce the reverse lie: the show lists seats that do not exist, and the next buyers are sold them.

The third failure is the 200 buyers. A buyer is sent to their bank, the hold ends while the bank is answering, the seats go to the next person, and the first buyer's payment then succeeds for seats that are no longer theirs. The rule for that buyer has to be decided before the payment arrives, and it has to give the same answer when the payment arrives twice, or an hour late, or while another part of the platform is stopped. A buyer owed a refund who gets a charge instead is the incident again.

Phase 4

Discover events

Produces search across 50,000 shows, show pages with availability badges, and proof that browsing keeps working when checkout is down. No queue or buying yet.

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

On the arena on-sale the spike slowed search for people who were only looking. Browsing, queueing and checkout all waited on the same thing, so the load from the buyers fighting for seats took the listings away from everyone else. Search is the front door for 3,500 shows a year, and an attendee who cannot find a show does not come back when checkout recovers.

A badge on a show page is a promise to the buyer. One that says "available" for a sold-out show sends buyers into a checkout that refuses them. One that lags by minutes does the same after the show is gone, and one that stays wrong after a restart keeps doing it until someone notices. The client finds out from buyers and from organisers asking why a sold-out show still draws complaints.

Search also has to be right in places that look like details. A show at 23:30 local time on 28 Mar 2027 belongs to 28 Mar 2027 for the person planning the evening, not to the UTC date it falls on. A page boundary that moves while a show is published makes an attendee see one show twice or miss another. Neither produces an error, only a buyer who did not find the show.

Phase 5

Admit buyers fairly

Produces presale registration with one code per fan, a fair random queue, and admission at 100 a second with a 15 minute pass. No checkout yet.

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

On the arena on-sale, 40,000 people arrived within a minute, and everything behind the front door slowed under them. A queue that admits everyone at once repeats that, because the load that took payment down is the load of everyone reaching checkout together. A queue that follows arrival order is unfair in a different way: it rewards bots and fast connections, and a fan on a slow phone is behind them whatever time they started.

Presale is where organisers are most exposed. A code that can be guessed, derived from something a scalper can see, or handed to a second person sends resellers ahead of the fans the organiser promised the presale to. A fan who registers twice and receives two codes can pass one on. When two registrations from one fan arrive together, they still have to give one code.

A line has limits too. One place per buyer only means something if a buyer who joins ten times, or from ten browser tabs at the same moment, still holds one place. An admission pass that can be forged, extended or used for another show lets anyone skip the line. Each of these costs the client in the same way: organisers who complain that fans did not get tickets, and a repeat of the outage when the rate is wrong.

Phase 6

Take orders

Produces an all-in price shown first, a checkout that needs an admission pass and holds the seats, a limit of 4 tickets per buyer that holds under pressure, and unpaid or abandoned orders that free their seats. Payment is not built yet: an order can be started and can end, but not yet be paid.

Implementation

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

A buyer who first sees the fees at the last step abandons the purchase or complains, and a price that differs between what was shown and what is charged starts disputes. The all-in price has to be the first thing a buyer sees, and the figure has to be the same cent that the order later totals.

Checkout is where a queue is either respected or not. A checkout that does not check the admission pass lets anyone skip the line, and the fans who waited lose their places to whoever knows the address. A limit of 4 tickets per buyer that is checked and then applied lets one buyer take 40 tickets with 40 simultaneous requests, and the scalper is ahead of the fans again.

Orders that nobody pays are the third failure. Seats held for orders that will never be paid keep a show looking sold out, and the organiser sees empty seats at the door on a night the platform called sold out. A buyer who walks away expects the seats to come back to the next person, and a checkout that cannot hold seats has to say so quickly and not leave an order behind that nobody can finish.

Phase 7

Take payments

Produces a pretend payment processor that misbehaves on demand, a charge with bank approval and declined cards, processor notices handled when they arrive late, twice or out of order, and a full refund for a buyer whose seats are gone. It does not issue tickets, cancel shows or pay organisers.

Research

Implementation

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

In the arena on-sale about 200 buyers were sent to their bank, waited, and came back to find their held seats resold. Their payments still went through. The company took money for seats it no longer had, and refunded those buyers by hand over two days.

The bank's approval step takes 1 to 6 minutes, and a hold lasts 10 minutes. A payment that finishes after its hold ended is ordinary traffic on a sale day, and the platform must have a defined outcome for it: the buyer gets the seats if they are still free, and otherwise gets every cent back.

The payment processor is outside the platform and does not keep its promises politely. It sends the same confirmation twice, sends one late, sends one behind a message about something that happened after it, and sends one that someone altered on the way. A platform that books every confirmation it hears sells two tickets for one payment or refunds one buyer twice. A confirmation that is old or does not check out must not change anything, because a replayed message is how a stranger gets a free ticket.

A process can also die after the processor took the money and before the platform wrote that down. On restart the buyer must end up charged once with a recorded result, not charged and forgotten, and not charged again. Each of these costs the client money that is hard to find afterwards: charges for nothing, double refunds, and nights spent matching the processor's report to the platform's numbers.

Phase 8

Issue tickets and admit at the door

Produces one ticket per paid seat, a code that changes every 15 seconds, ticket transfers and a door scan that admits each ticket once. It does not refund, cancel or dispute; refusing a revoked ticket comes with the refunds in the next Phase.

Implementation

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

A ticket that is a fixed QR code admits whoever holds a copy of it. Someone who screenshots a friend's ticket and sends it on admits a second person, and the real holder is turned away at the door with a ticket that was already used. The client cannot tell a genuine holder from a copy, and cannot contest the card dispute that follows.

Two doors can scan one ticket in the same second. A scanner that loses its connection and decides alone cannot know the ticket was used at another door. If it admits from a local copy, one ticket enters twice. If it refuses everything while offline, a queue of paying customers stands in the rain.

A paid order handled twice can issue six tickets for three seats, and the extra three sit in someone's hands. A ticket email that goes out twice confuses the buyer, and one that never goes out produces a phone call at the door. Two transfers of one ticket at the same moment can hand it to two people. Each of these ends with a real ticket holder turned away or an extra person inside, and with a dispute the company cannot answer from its own records.

Phase 9

Refund, cancel and dispute

Produces card disputes answered from the platform's own records, refunds on request under the policy, fraud warnings, cancellation and postponement of a show, and proof that a cancellation refunds every buyer exactly once. It moves no money to organisers; the next Phase turns these into what organisers are owed.

Implementation

Implementation

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

Refunds done by hand from a spreadsheet are slow, and a mistake in one costs the client real money. A cancellation of a 12,000-seat show that dies half-way through its list refunds half the buyers, and a restart that begins again refunds some of them twice. The company then has to find out which buyers were paid, and ask some of them to give money back.

A card dispute is decided on evidence sent before a deadline. A door scan proves the buyer entered, and the dispute is lost if that scan never reaches the processor. A refund issued for an order that is under dispute means the company loses the money twice, once to the buyer and once to the card network. A refunded ticket that still opens the door means the buyer has the money and the seat.

Postponing a show without a date leaves buyers holding tickets for nothing. If the platform lets the postponement end both ways, a buyer ends up with a new date and a refund, or with neither. These errors are discovered by the buyers who phone, and the organiser who is told the company paid out money the show never earned.

Phase 10

Pay the organisers

Produces what each organiser is owed from every sale and refund, money held until the show has happened, a statement checkable line by line, clawbacks, and a reconciliation to the processor's settlement. It does not change how buyers pay.

Implementation

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

An organiser is paid from money the company took in, and much of that money can still leave. A payout released before the refunds are due means the money has gone, and the company pays the difference from its own pocket. A cancelled show whose organiser was already paid costs the company the full amount of every refund.

An organiser who cannot check a statement does not trust it. A statement that changes after it was issued cannot be checked at all. A fee rounded per ticket and not per payment is off by a cent on every multi-ticket order, which adds up to a difference that nobody can find. A dispute fee forgotten, or a processing fee counted against the wrong party, makes every figure after it wrong.

Refunds and disputes keep arriving after the payout. The company has to take that money back from an organiser who was told the matter was closed, and it has to do it once and explain it line by line. The cost is money the company cannot recover, organiser disputes, and hand-made corrections made in a spreadsheet at month end.

Phase 11

Operate the platform

Produces what an operator needs on sale day: one order's story, an admission rate that slows when checkout degrades, a way to finish stuck work, and one command that checks the platform's numbers. It adds no buyer-facing feature.

Implementation

Implementation

Implementation

Testing

Architectural walkthrough

On sale day something goes wrong, and the operator has to find out which order is stuck and why. If nobody can tell, buyers who paid with no ticket stay that way until they phone, and the support team answers each of them by guessing.

A line that keeps admitting buyers at full speed into a checkout that is failing turns a slowdown into an outage. Every failed checkout is a buyer who held seats and left, and the show looks sold out to everyone else. One refund that the processor keeps refusing must not hold up the thousands of refunds behind it, or a single bad order delays every buyer's money.

Numbers drift. Seats sold, orders paid, payments taken, tickets issued and money owed to organisers come from different places, and they can disagree for hours before anyone notices. An organiser who finds the difference first costs the client more than an operator who finds it in the morning.

Phase 12

Prove the on-sale

Produces the proof runs of the 40,000 buyer sale: a clean run, each capability stopped in turn, one capability replaced during a live sale, and a full day with every failure at once. It adds no feature.

Testing

Testing

Testing

Testing

Architectural walkthrough

Every capability has passed its own tests, and nothing so far shows that the whole platform keeps one set of numbers under a spike with failures: seats sold, orders paid, payments taken, tickets issued and money owed to organisers. The arena sale failed on exactly such a day, with 12 buyers told they had the last seat and about 200 more who paid for seats already resold. Finding that out in production costs the client the 212 apologies again, and an organiser who may not come back.

A capability that stops must not take the rest with it. When one stopped capability takes down browsing, buyers who were only looking leave, and the show seems dead on the one day it is meant to be busy. A fix shipped on sale day must not drop buyers who are in the middle of checkout, because each of them holds seats, has paid or is about to.

The runs in this Phase are the place to find out. They are also the evidence the client will read before an arena on-sale, and a run that has never been seen to fail tells the client nothing.

Architectural walkthrough

Two buyers, one last seat

On the busiest second of the arena on-sale, two buyers were each told they had the last seat, and it happened 12 times. Each of those buyers paid for a ticket that did not exist. The company emailed them, refunded them by hand over two days, and the organiser has not booked with the company since.

Two people can ask for the last seat in the same instant, and the answer each one gets must not depend on which request the platform happened to look at first. The seat goes to exactly one of them, and the other is told straight away. Test this with far more simultaneous buyers than seats, and repeat it often enough that a rare ordering would show up. A test that passes once proves little here.

A hold and a payment run on different clocks

A buyer's seats are held for 10 minutes. The bank's approval step takes 1 to 6 minutes, and the processor's confirmation can arrive late, twice or out of order. Neither clock can be made to wait for the other, so some buyers will pay after their hold has ended. In the incident, about 200 buyers were sent to their bank, lost their seats to the next person in line while they waited, and paid for seats that had already been resold. They found out when the ticket email did not arrive.

The client needs a defined outcome for every late payer: the seats if they are still free, the full amount back if they are not. A charge for nothing is the one outcome the client cannot accept. A second confirmation for the same payment must not produce a second ticket or a second refund. Check each of these outcomes by name in your own build before you trust a run that mixes them.

The processor is another company

The payment processor answers late, sends the same message twice, sends messages out of order, and fails on request. Its refund call fails the first time for some refunds. Your own process can die between taking money and recording that it did. Each of these costs the client in a different way. A buyer is charged twice. A buyer is charged and has no order. A show reaches search without its ticket types. A cancellation refunds half the buyers because the process died half-way through the list.

Your tests have to cause every one of these, and the Checkpoints say where.

One part down, one part being replaced

On sale day, search, the queue, checkout, payment, tickets and organiser statements can each fail alone. The current application shares one database across browsing, queueing, checkout and reports, so the spike makes search slow for people who are only looking. If payment is stopped, buyers should still be able to search, queue and hold seats. If checkout is stopped, a buyer should be refused within 5 seconds and not left waiting.

The client also ships fixes while a sale runs. A fix applied to one capability must not drop the buyers who are halfway through checkout, because a buyer who paid and has no order phones the company, and the company cannot say what happened to the money.

At the door

A ticket copied from a screenshot admits a second person. Two doors scan the same ticket in the same second. A scanner that loses its connection and decides alone cannot know the ticket was already used at another door. A ticket that was refunded or reported as fraud has to stop working. The cost is a person with a real ticket turned away and another admitted on a copy, plus card disputes the company cannot contest because no record shows the ticket was used.

Money the organiser can check

An organiser is paid after the show, minus refunds. A refund or dispute that arrives after the payout means the company has to take money back. A statement that changes after it was issued cannot be checked, and organisers check to the cent. A processing fee rounded per ticket instead of per payment is 220 cents where the processor charged 219, and the processor's daily settlement report shows the difference.

Where it shows if you cut a corner

Each failure above has a number that gives it away. Sold seats above capacity for a ticket type point to the first. A successful payment with neither a ticket nor a refund points to the second. A buyer refunded twice, a statement that changed after it was issued, and a difference from the processor's settlement point to the money rules. A valid ticket refused while one capability was being replaced points to the last. You find each of these with a test you run before an organiser finds it in a statement.