New Feature - SumUp pay-per-print integration (Solo & QR-Code)#1500
Open
frogro wants to merge 12 commits intoPhotoboothProject:devfrom
Open
New Feature - SumUp pay-per-print integration (Solo & QR-Code)#1500frogro wants to merge 12 commits intoPhotoboothProject:devfrom
frogro wants to merge 12 commits intoPhotoboothProject:devfrom
Conversation
andi34
requested changes
Mar 31, 2026
Contributor
andi34
left a comment
There was a problem hiding this comment.
Install script als needs execution permissions, chmod +x
b4c1c2a to
1a7ca4b
Compare
andi34
requested changes
Apr 5, 2026
andi34
reviewed
Apr 5, 2026
| check_git_install | ||
| fi | ||
| check_photobooth_version | ||
| install_system_icon || warn "Failed to install Photobooth system icon" |
andi34
requested changes
Apr 5, 2026
4fc41ce to
86d9f00
Compare
Change-Id: I6144c0db0c2541d89ba926ba071f3a491ea12a1d
Change-Id: Ib8c17613e6f0172194d5bf54a3dcada8b4fa441d
npm run format pre-commit run --all-files Change-Id: I5bda30bc0f3ddb11364d5c16f6a6b9c557d560f6
Change-Id: I93b4b337b5571c1391d37ed914a4fad6b5aa3660
Change-Id: Ic022250597b29d7ce8d2ab0e7f831432124bcb29
Change-Id: I231d32b866590ea08f2fcab44def02ec48afa38a
Change-Id: I2c0dab008b64475c3773cbfd7ebc72efa392c1d4
Change-Id: I3d0343150ebbb8f3e6cab1466b2ed0df29315bf7
Change-Id: I65eeeb49e54550865abdff8f4689352ab1ee23a1
Change-Id: I915b194bc703ed3ffed70ad770db90b17a0a3e57
dont depend on german language Change-Id: I77f07d5e93760ad400bc6043325b76cafd297943
b05ef6f to
6e0c928
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisites checklist
What is the purpose of this pull request?
What changes did you make? (Give an overview)
feat: add SumUp pay-per-print integration (Solo & QR-Code)
Pay-per-print Integration for Sumup Payment (via QR code or Solo Terminal
This PR introduces a robust payment integration that allows charging for prints while maintaining the full feature set of Photobooth (Frames, QR-Codes, etc.).
Core Integration:
sumup_solo.py: Handles transactions for the SumUp Solo Terminal.webhook_sumup.py: Flask-based listener for QR-code payment status updates.sumup_print_wrapper.phpto bridge Python scripts with the nativeprint.php. This ensures that all configured effects (QR codes, frames, rotation) are applied correctly to the payment-triggered prints.Setup Requirements:
Installation:
install-photobooth-sumup-ngrok-gunicorn.shbased on the original installer to automate the environment setup.1.) Create a free SumUp account and API access token
2. Create a free ngrok account
Set up an ngrok authoring token / note the dev domain (it should be an fixed IP - maybe it will be offered to you later)
ngrok config add-authtoken YOUR_TOKEN3. Start the tunnel (only required for QR code payment)
ngrok http --url=myurl.ngrok-free.app 5000or via the service (integrated in the installer)4. Start guinicorn (only required for QR code payment)
cd /var/www/html/apisudo -u www-data gunicorn -w 2 -b 127.0.0.1:5000 webhook_sumup:appor via the service (integrated in the installer)Is there anything you'd like reviewers to focus on?
You can also clone with following commands:
sudo apt install gitcd ~git clone -b feature/sumup-payment https://github.com/frogro/photobooth.git photoboothcd ~/photoboothgit branchShould show:
* feature/sumup-paymentbash install-photobooth-sumup-ngrok-gunicorn.shAI used to create this Pull Request?
Yes. It was done with the support of ChatGPT and Gemini.