Skip to main content

Enables credit card payments via SumUp

Project description

/images/SumUp_Pretix_plugin_header.png

This is a plugin for Pretix.

Enables credit card payments, Apple Pay, Google Pay, and alternative payment methods via SumUp.

SumUp Payment Provider Setup Guide

Overview

This guide walks through setting up and configuring the SumUp payment provider for your Pretix installation. The SumUp payment provider allows you to accept credit card payments and various alternative payment methods.

Prerequisites

  • A SumUp merchant account

  • API keys from the SumUp developer portal

  • Pretix installation

Configuration Options

Basic Setup

  1. API Key: Required authorization token that allows Pretix to call SumUp on your behalf.

    • Obtain it from: SumUp API Keys

    • Format must begin with sup_sk_

    • Paste it into the API Key field under the plugin’s settings.

  2. Merchant Code & Merchant Name: Automatically filled in when a valid API key is provided after saving.

Alternative Payment Methods

  1. Enable Alternative Payment Methods under the plugin’s settings: Allows customers to pay using:

  2. Apple Pay Setup:

    • Download the Domain verification file from SumUp Wallets Settings and open it with a text editor

    • Copy and paste the whole file as text to the ApplePay MerchantID Domain Association field under Pretix’s Global settings (yourdomain/control/global/settings/ - only accessible as an Admin user via Admin mode)

    • Verify your domain by pasting it to SumUp Wallets Settings and clicking Check domain (like example.com or world.example.com)

    • You’re done! Apple Pay should show as an option from now on for every new checkout, when visited by an supported device like an iPhone!

  3. Google Pay Setup:

    • For the Google Pay checkout you’ll need to register a Google Pay business account and validate your domain with Google by sending screenshots of your checkout to verify that it satisfies Google’s guidelines. Additionally, you’ll need to contact SumUp’s Integration Team to activate Google Pay on your merchant account.

    • First, register a Google Pay business account here

    • Fill out your information under the Business profile tab and get it approved by Google

    • Enable Google Pay under the plugin’s settings and fill in your Google Merchant ID (you can find it next to your business name on the Google Pay console)

    • Under the Google Pay API tab fill in your domain (like example.com or world.example.com) and choose Gateway as Integration type

    • Take screenshots of your own Pretix store (see the examples under images) and submit them to Google. For the Payment method screen and GooglePay API Payment Screen add #sumup-widget:google-pay-demo-mode to your URL to generate a test Google Pay button. (e.g.: yourdomain.net/yourorganizer/yourevent/order/GDBBK/9ddqfjdkaujvhus45q/#sumup-widget:google-pay-demo-mode)

    • Wait until Google Approves your implementation (usually within 48h)

    • Contact SumUp’s Integration Team to activate Google Pay on your merchant account via the contact form. You’ll need to provide them with your SumUp Merchant Code, SumUp Merchant Email, and a URL to a test ticket shop in order to check if your store complies with their policies.

    • You’re done! Google Pay should show as an option from now on for every new checkout!

  4. Other Alternative Payment Methods

    • After enabling Alternative Payment Methods under the plugin’s settings they should show up as an option depending on your SumUp account’s country

Development setup

  1. Make sure that you have a working Pretix development setup.

  2. Clone this repository.

  3. Activate the virtual environment you use for Pretix development.

  4. Execute python setup.py develop within this directory to register this application with Pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. Restart your local Pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black

To check your plugin for rule violations, run:

black --check .
isort -c .
flake8 .

You can auto-fix some of these issues by running:

isort .
black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2025 Christoph Walcher & Botond Moksony

Released under the terms of the Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix_sumup_payment-1.2.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretix_sumup_payment-1.2.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file pretix_sumup_payment-1.2.0.tar.gz.

File metadata

  • Download URL: pretix_sumup_payment-1.2.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for pretix_sumup_payment-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b19424a5bceff7be388841b7da7651c6f56a17f45148c5224bb333e8e5367d89
MD5 767eac3a01030f1525131950804154a8
BLAKE2b-256 5daf8ab7ea3b7be6fc5987c04c0a6dbad4df0c0982611fc031c18958ce564c29

See more details on using hashes here.

File details

Details for the file pretix_sumup_payment-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_sumup_payment-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c21f2b6ea9745ab263aa96b6dfd04b8d05fd0d25f783d0d5c3f05bdf46b9bfb4
MD5 99d7ea8c51a8f051242303be3d0d97c9
BLAKE2b-256 e2bf48c4f7a6f6a58d5f8cb169636f7312bc0b493ddb0903b54a3bd1fd56332a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page