Skip to main content

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: production or sandbox

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


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.6.2.tar.gz (56.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_postfinance-1.6.2-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

Details for the file pretix_postfinance-1.6.2.tar.gz.

File metadata

  • Download URL: pretix_postfinance-1.6.2.tar.gz
  • Upload date:
  • Size: 56.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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

Hashes for pretix_postfinance-1.6.2.tar.gz
Algorithm Hash digest
SHA256 c7b130a3431da4354e5b65b2e9b736ce3ad02b36821d6b3a11d4d126cd36115a
MD5 2f2b80fd2541c7db433b3ab42b3d31b2
BLAKE2b-256 a59a41a54257558f96fb559293f057efa4ffc287ce975f98fbdf9753f288cecc

See more details on using hashes here.

File details

Details for the file pretix_postfinance-1.6.2-py3-none-any.whl.

File metadata

  • Download URL: pretix_postfinance-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 47.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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

Hashes for pretix_postfinance-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf46f0d20385789025f5caa97068f1f7f144911acbcf8a2c0d5b2603ca1d8b97
MD5 7cc1a7d5720710d09193f5599cfdcf28
BLAKE2b-256 41721bfbbd14029125cd3b60cdaa83c464cad9c91fe64eb8f5f8bb113e740fb9

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