MohB

All apps › Documentation: Tickets

Technical documentation

Architecture, data protection and API.

For IT contacts, data protection officers and anyone who needs to know how MohB Tickets handles guest data, payments and access.

Architecture at a glance

  • Web app for the editor, the check-in page and the public pages (calendar page, event page, checkout, confirmation, ticket, Your tickets). Public pages are rendered on the server.
  • Public pages run without JavaScript, without cookies and without third-party content. Fonts are system fonts. A strict Content Security Policy applies.
  • Background job every 5 minutes: releases expired reservations (after asking Stripe whether payment arrived after all), retries emails that failed, sends reminders and refreshes the company data of all organizers.
  • Database: MariaDB. Event images and cover images are stored on the same server.
  • Payments: Stripe Connect. Guests pay on Stripe Checkout, the payment page hosted by Stripe.
  • Email: Amazon SES in the EU.
  • Login: the shared MohB account (single sign-on). Roles per organizer: owner, supporter, staff and check-in.
  • Hosting: servers in the EU.

Separation of organizers

Every organizer is a company from the MohB company profile. Name, legal data, office address, language, brand colour, logo and links to legal texts are copied from there and refreshed every 15 minutes. If the profile cannot be reached, the last copy stays in use.

Every record carries its organizer, and every database query names it explicitly. An organizer never sees events, orders or guests of another organizer. At check-in, a ticket of another organizer counts as an unknown code.

RoleMay
OwnerEverything: connect Stripe, publish, take back, cancel and delete events, refund, legal texts, photo consent, calendar page
SupporterSame as owner; the contact person at MohB who helps with setup
StaffCreate and edit events and ticket types, guest list, CSV export, free tickets, resend emails, check-in
Check-inOnly the check-in page

For now, MohB adds the people in a team.

Public addresses

AddressContentSearch engines
/<organizer>/Calendar page with upcoming and past eventsYes
/<organizer>/calendar.icsCalendar feed to subscribe toNo
/<organizer>/<event>Event pageYes, unless hidden or cancelled
/<organizer>/<event>/checkoutBookingNo
/order/<code>Order confirmationNo
/t/<code>Ticket with QR code and calendar fileNo
/myYour tickets, access by link from an emailNo
/<organizer>/imprint, privacy, termsLegal texts written in the editorYes

Codes in addresses are random 128-bit values. Whoever knows the address sees exactly this ticket or order and nothing else. Pages with a code in the address send no referrer and are not cached.

Data protection and records

DataPurposeWhere it is kept
Name, email and optional phone of the buyerIssue tickets, emails, admissionDatabase of MohB Tickets
Name per further ticketTicket, admissionDatabase of MohB Tickets
Payment detailsPaymentOnly at Stripe; the app keeps status, amounts and fees
Check-in time and who checked inAdmission, detecting double scansOn the ticket
Photo consent (optional)Proof of consentPer ticket: decision, wording shown, where it was given, time
Requests for Your ticketsProtection against abuseOnly as hashes of address and network; deleted after 2 days
  • No tracking: no cookies, no analytics and no pixels on public pages.
  • Emails carry the organizer as sender name; replies go to the organizer's email address.
  • Legal texts: each organizer publishes its own legal notice, privacy policy and terms. The checkout also names the booking service and links its privacy policy.

Payments

  1. Reservation: the chosen seats are held for 30 minutes. The reservation runs in a database transaction with a lock, so two simultaneous bookings can never get the last seat twice.
  2. Free tickets are confirmed at once.
  3. Paid tickets: the guest pays on Stripe Checkout. The charge is made directly on the organizer's own Stripe account; Stripe deducts the platform fee at the same moment.
  4. Confirmation comes through a signed webhook and when the guest returns from Stripe. Both are idempotent: every notification from Stripe takes effect exactly once.
  5. Abort: if the guest cancels at Stripe, the seats are free again at once. Expired reservations are released by the background job.
  6. Payment methods that confirm later hold the seats for up to 7 days.
  7. Refunds are made in full through Stripe on the organizer's account. Refunds made in the Stripe Dashboard are picked up through the webhook. A payment that arrives after an event was cancelled is refunded at once.

Safety nets

AreaProtection
Public pagesContent Security Policy without scripts, styles only with a nonce, no framing
Addresses with a codenoindex, no caching, no referrer
BookingRate limit per network, a trap field against bots, reservation with a lock
Your ticketsSame answer for known and unknown addresses; 3 requests per address and 10 per network per hour; at most 6 emails per address and day
WebhooksSignature check with 5 minutes tolerance; every notification processed once
EmailsEach order email is locked before sending, so it never goes out twice; failed sends are retried up to 5 times within 3 days
EditorLogin through the MohB account, role checked on every request, write requests only with a custom header (against cross-site requests)
UploadsImages re-encoded as WebP, at most 1600 px, metadata removed; other files rejected
Check-inAtomic: two devices on the same ticket give one "inside"; tickets of other organizers count as unknown
CameraAllowed only on the check-in page; no picture leaves the device, only the code that was read

Integrations

  • Stripe Connect: each organizer connects its own Stripe account, either new through the sign-up Stripe hosts or an existing one. The organizer keeps the full Stripe Dashboard.
  • Calendar: one iCalendar feed per organizer to subscribe to (Follow), plus one calendar file per ticket. Both use the same identifier per event, so dates never appear twice. When an event is cancelled, the calendar file marks it as cancelled.
  • Email: confirmation, reminder 24 hours before the start, refund, cancellation and the link to Your tickets, sent through Amazon SES in the EU.
  • Public API: MohB Tickets has no API for third parties at the moment.