Skip to main content

Passbook tickets for pretix

Project description

https://img.shields.io/pypi/v/pretix-passbook.svg 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 pip install -e . 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:

export CERT_NAME=pass-pretix
openssl genrsa -out $CERT_NAME.key 2048
openssl pkey -in $CERT_NAME.key -traditional > $CERT_NAME.key.pem
openssl req -new -key $CERT_NAME.key -out $CERT_NAME.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 $CERT_NAME.cer -out $CERT_NAME.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. The passbook type id is your identifier, as example pass.pretix.example. The Team ID can be found under “Organizational Unit” when opening the passbook certificate, e.g. with Keychain on MacOS. 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

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_passbook-1.14.0.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

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

pretix_passbook-1.14.0-py3-none-any.whl (179.6 kB view details)

Uploaded Python 3

File details

Details for the file pretix_passbook-1.14.0.tar.gz.

File metadata

  • Download URL: pretix_passbook-1.14.0.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for pretix_passbook-1.14.0.tar.gz
Algorithm Hash digest
SHA256 d29560115ca6f7ba1e8b038449da4daa9629e2c065d990da5c0e1cc39d31af88
MD5 737f1eebb91f963c91009f999495596a
BLAKE2b-256 530d52eac849bb35726fb293ee5cdcdc14bbb189f32a3fdee408014c004796f9

See more details on using hashes here.

File details

Details for the file pretix_passbook-1.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_passbook-1.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee5fed729e619eedca9565b9fe8a9ba5322c8e149e1a492249bf3b037cd65676
MD5 a75e30ff80c5db510368d426a8383442
BLAKE2b-256 015e47bfd7fb5c0115fbf400e9f945f33745acc4d9c4bb4e2ea01c14d027a20e

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