PostFinance Checkout payment plugin for pretix
Project description
pretix-postfinance
PostFinance Checkout payment plugin for pretix.
Installation
PyPI
pip install pretix-postfinance
NixOS
For NixOS users, the plugin can be installed using the flake:
{ inputs, pkgs, ... }:
{
services.pretix = {
enable = true;
plugins = [
inputs.pretix-postfinance.packages.${pkgs.stdenv.hostPlatform.system}.default
];
};
}
Development
Setup with uv
# Create virtual environment
uv venv
# Install with development dependencies
uv pip install -e ".[dev]"
Setup with Nix
# Enter development shell
nix develop
# Or use direnv
direnv allow
Running checks
# Run linting
uv run ruff check .
# Run type checking
uv run ty check pretix_postfinance/
# Run tests with coverage
uv run pytest tests/ --cov=pretix_postfinance --cov-report=term-missing -v
Configuration
Configure the plugin in your pretix settings with:
- Space ID: Your PostFinance Checkout space ID
- User ID: API user ID
- API Secret: API authentication secret
- Environment:
productionorsandbox
Features
- Payment processing via PostFinance Checkout
- Full and partial refund support
- Webhook handling for payment and refund notifications
License
GNU Affero General Public License v3.0 (AGPLv3)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pretix_postfinance-1.5.0.tar.gz
(54.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pretix_postfinance-1.5.0.tar.gz.
File metadata
- Download URL: pretix_postfinance-1.5.0.tar.gz
- Upload date:
- Size: 54.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f21d205efacdb5d6da134a923f12a823dcb4648c3e5747231d5068265eb23ec0
|
|
| MD5 |
1ec5dacac9ba9e3a21594915b8c9355e
|
|
| BLAKE2b-256 |
b16df2e5288fd6a7f8ab06bf3e11b20a237d4f121de4001a8525dd1cae165f8c
|
File details
Details for the file pretix_postfinance-1.5.0-py3-none-any.whl.
File metadata
- Download URL: pretix_postfinance-1.5.0-py3-none-any.whl
- Upload date:
- Size: 46.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7acdb847da016ea178ef5fcdcb8bdfd7ff5419c4b68b0e9734b1471b6e58b04d
|
|
| MD5 |
1020aa08fff40e525a6b1959444d820c
|
|
| BLAKE2b-256 |
2800fe586f4acaf395252ada16079c83c9f6e6187b775472c0fb107c1209676d
|