The Mosta Rotunda · Malta

Turnstile Extension — Top Floor Access

How a visitor with a €5 ticket can upgrade instantly on their phone — no staff, no queues, no turning back.

Payment flow — visitor to turnstile open

Turnstile Extension — payment flow for The Mosta Rotunda Step-by-step flow: visitor scans QR, pays €3 via Stripe, backend validates, relay controller signals the Gunnebo turnstile to open. The Mosta Rotunda — Top Floor Payment Flow From QR scan to turnstile open — no staff required ① VISITOR ARRIVES — TRAPPED BY ONE-WAY STAIRCASE Visitor with €5 ticket Scans QR — access denied Turnstile signage + printed QR code "Scan to upgrade your ticket — €3" ② VISITOR PAYS €3 ON THEIR PHONE — NO APP, NO STAFF Mobile payment page The Mosta Rotunda — branded, opens in browser Stripe Checkout — €3 supplement Card · Apple Pay · Google Pay Stripe webhook fired payment_intent.succeeded event ③ BACKEND VALIDATES · TRIGGERS RELAY · TURNSTILE OPENS Backend server Validates payment · issues single-use token IoT relay controller Raspberry Pi + relay HAT (on-site) Gunnebo SlimLane turnstile Relay pulse → glass opens → one passage → resets QR Stripe Hardware

Click each phase to expand details

Visitor scans a QR code at the turnstile
Phase 1
Printed signage next to the turnstile explains the €3 top-floor supplement and displays a large QR code. The visitor scans it with their phone camera — no app download required. Key design principles for the sign:
  • QR code minimum 10 × 10 cm — tourist lighting is often dim
  • Mount at eye level (150–160 cm from floor)
  • Payment logos (Visa, Mastercard, Apple Pay) displayed for trust
  • Short URL behind the QR — e.g. mostadome.mt/top
  • Available in English, Italian, German and French
€3 supplement paid via Stripe on their phone
Phase 2
A mobile-optimised, Mosta Rotunda-branded payment page loads instantly in the visitor's browser. Stripe handles all card processing — the church never handles raw card data. The full payment takes under 30 seconds.
  • No login, no account — ever. A tourist will not create an account for €3
  • Apple Pay / Google Pay shown first — single Face ID tap, under 5 seconds
  • Standard card entry as fallback (Visa, Mastercard, Amex)
  • Page detects browser language — can serve in EN, IT, DE, FR
  • Stripe's existing account can be reused from the main ticketing system
Backend validates and signals the turnstile
Phase 3
Stripe fires a webhook the instant payment succeeds. The backend validates it, creates a one-use token, and sends an HTTP command to the on-site relay controller — which pulses the Gunnebo turnstile's dry-contact input, opening the gate for exactly one passage.
  • The turnstile receives the same relay signal it gets from any QR scanner or RFID reader
  • Single-use token — each payment opens the gate exactly once
  • Token expires after 5 minutes if unused
  • Full webhook-to-gate latency target: under 2 seconds
  • The ELV technician who installed the turnstile connects two wires — routine work

Turnstile signage — select language

Top floor — upgraded ticket required

The Mosta Rotunda · this gate opens with an €8 ticket only

€5 ticket — church, crypt & WW2 shelter
€8 ticket — all of the above + top floor

Upgrade here — pay on your phone

+ €3

Point your phone camera here.
No app needed.

Takes less than 60 seconds

Mobile payment page — click through the visitor journey

1 · Payment 2 · Processing 3 · Success
The Mosta Rotunda · Malta
Top Floor Access
Top floor — day pass
Supplement · valid today only
Amount due €3.00
or pay by card
Card number
MM / YY
CVC
Secured by Stripe
Confirming payment…
Opening the gate
Payment confirmed!
Your gate is now open
Please walk through now Gate closes after one person
Top floor pass€3.00
Date
RefTF-4829
Gate didn't open? Call +356 0000 0000

Hardware options — click to expand specs

Raspberry Pi + relay HAT
Recommended

Full Linux system + physical relay output. Easy to update remotely. Any developer can maintain it.

Estimated cost~€40–60
ConnectivityWi-Fi + Ethernet
Setup difficultyModerate
Relay channels2–8
Best forMost installations
ESP32 relay module

Tiny Wi-Fi microcontroller for IoT relay tasks. Cheapest option, needs embedded coding knowledge.

Estimated cost~€15–25
ConnectivityWi-Fi only
Setup difficultyHigher
Relay channels1–4
Best forDev-heavy teams
Industrial relay board

Dedicated Ethernet relay for 24/7 industrial use. No OS to crash. DIN rail mountable.

Estimated cost~€80–150
ConnectivityWired Ethernet
Setup difficultyLow
Relay channels8–16
Best forSet-and-forget
All three options connect identically — two wires into the IN1 + COM dry-contact terminals on the Gunnebo control board. The turnstile simply receives a relay pulse, the same signal it gets from any QR scanner or RFID reader. The controller should sit on a wired Ethernet connection for reliability inside stone walls.
🌐 Translate & Listen
Language Tools

Select a language and choose an action.