ScanPay

ScanPay

QR-triggered SumUp payments for volunteer-run events.

Status: Maintained Started: 2025 Technologies: FastAPI, Docker, SumUp, QR Codes

ScanPay is a small self-hosted web application I built to make card payments at volunteer-run events easier to trigger.

Instead of handing volunteers a POS app, SumUp credentials, and a payment workflow they have to learn on the spot, ScanPay reduces the whole thing to a QR code. A helper or visitor scans the code with a phone, the phone opens a ScanPay URL, and ScanPay starts the corresponding checkout on a configured SumUp card reader.

The important detail is that the smartphone is not the payment terminal. It is only the trigger. The actual payment still happens on the SumUp reader.

The problem I wanted to solve

This started with a very practical event problem.

At community and volunteer-run events, card payments are useful, but the usual setup is often awkward:

  • cash handling is annoying and creates reconciliation work later
  • a normal card-reader flow ties the checkout to one operator
  • POS or payment apps have to be installed and configured on devices
  • volunteers should ideally not need direct access to SumUp credentials
  • a single terminal can easily become a bottleneck

For fixed-price products, tickets, drinks, or standard donation amounts, that felt more complicated than it needed to be.

How ScanPay works

Each product or donation amount gets its own QR code.

The flow is intentionally simple:

Printed QR code
    -> smartphone opens ScanPay URL
    -> ScanPay calls the SumUp Reader Checkout API
    -> SumUp forwards the checkout to the selected reader
    -> payment happens on the physical card reader

That means the phone only needs a browser. No dedicated app, no login, and no device-specific setup beyond scanning the code.

What the current version does

The public version currently supports:

  • QR codes for products with fixed prices
  • multiple SumUp readers in one installation
  • print-friendly pages grouped by reader
  • storage of transaction IDs for later cancellation handling
  • optional webhooks to external systems
  • Docker and Docker Compose deployment
  • SQLite-based local persistence without a separate database server

The original use case was donations and community events. Later I extended it for a stage production setup where the same system also needed to handle tickets, drinks, and merchandise.

Technical stack

ScanPay is deliberately small and fairly boring under the hood, which is exactly what I wanted for this use case:

  • Python
  • FastAPI
  • Jinja2
  • SQLite
  • Docker
  • SumUp Reader Checkout API

It is meant to be easy to deploy, easy to reason about, and usable on modest self-hosted infrastructure.

Limits

ScanPay is not a full POS platform and it is not trying to be one.

In particular:

  • it is a checkout trigger for SumUp readers, not a payment provider
  • it does not replace the physical card reader
  • it is not a full fiscal or tax-compliant cash register system
  • the architecture is aimed at small and medium event setups, not high-volume retail

There are also a few areas that still deserve verification or future work, including current reader compatibility, reporting, authentication, and a better admin surface.

Links

If you want a self-hosted way to turn printed QR codes into remote triggers for SumUp readers, this is the project.

Related build stories