Skip to content
Support for Apple Wallet/Passbook files in pretix
Python Shell Makefile
Branch: master
Clone or download
Latest commit bd19b62 Feb 17, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pretix_passbook
.gitignore
.gitlab-ci.yml
.travis.yml
.update-locales
LICENSE
MANIFEST.in
Makefile
README.rst
pytest.ini
setup.cfg
setup.py

README.rst

pretix-passbook

https://travis-ci.org/pretix/pretix-passbook.svg?branch=master

This is a plugin for pretix. It allows to provide tickets in the passbook format supported by Apple Wallet and a number of Android apps.

Contributing

If you like to contribute to this project, you are very welcome to do so. If you have any questions in the process, please do not hesitate to ask us.

Please note that we have a Code of Conduct in place that applies to all project contributions, including issues, pull requests, etc.

Development setup

  1. Make sure that you have a working pretix development setup.
  2. Clone this repository, eg to local/pretix-passbook.
  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.

Generating Passbook keys and configuring them in pretix

You can generate a key and CSR using:

openssl genrsa -out pass-pretix.key 2048
openssl req -new -key pass-pretix.key -out pass-pretix.csr

You can then request a certificate using that CSR in your Apple developer account. You can then convert the downloaded certificate like this:

openssl x509 -inform der -in pass-pretix.cer -out pass-pretix.pem

After generating the .pem file, upload it to pretix as passbook certificate. Make sure you have uploaded the key generated before (pass-pretix.key) and added the passbook CA of apple. Next add your Team ID in pretix and the passbook type id. This is your identifier, as example pass.pretix.example. If you have configured your private rsa key with a password you can provide it in pretix.

Click on Save. Enjoy!

License

Copyright 2016 Tobias 'rixx' Kunze and Raphael Michel

Released under the terms of the Apache License 2.0

You can’t perform that action at this time.