Skip to main content

SaferPay integration for django-payments

Project description

django-payments-saferpay

PyPI - Version PyPI - Python Version


Django Payments Saferpay is a python package that adds support for the Saferpay payment provider to Django Payments.

Table of Contents

Installation

pip install django-payments-saferpay

Configuration

You should follow the configuration guide in the Django Payments documentation. To set up this package as a payment variant, use the following PAYMENT_VARIANTS in the Django settings file:

PAYMENT_VARIANTS = {
    "saferpay": (
        "django_payments_saferpay.provider.SaferpayProvider",
        {
            "customer_id": "your-customer-id",
            "terminal_id": "your-terminal-id",
            "username": "your-username",
            "password": "your-password",
            "sandbox": True,  # Set to True for testing
        }
    )
}

Available configuration options

  • customer_id: Your Saferpay customer ID.
  • terminal_id: Your terminal ID from Saferpay.
  • username: The username for Saferpay API authentication.
  • password: The password for Saferpay API authentication.
  • sandbox: Boolean flag to enable or disable sandbox mode for testing.

Sandbox

The project contains a sandbox that shows a very simple implementation of Django Payments with the SaferPay payment variant. You can use it to see how implementation could be done, or to actually run an application against your own SaferPay account.

License

django-payments-saferpay is distributed under the terms of the BSD license.

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

django_payments_saferpay-0.0.3.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

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

django_payments_saferpay-0.0.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file django_payments_saferpay-0.0.3.tar.gz.

File metadata

  • Download URL: django_payments_saferpay-0.0.3.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_payments_saferpay-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b0f82d69bb96b6d821dcfecb5645968a9d093d4d18062c375a94d0a782670423
MD5 6ee382be16e583fc45509c1e5aa94b4d
BLAKE2b-256 95cb9886ae25f97367f2313c3a81ae1c060d023c2dffde3b553ff202013920d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_payments_saferpay-0.0.3.tar.gz:

Publisher: test-and-release.yml on epfl-cede/django-payments-saferpay

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_payments_saferpay-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_payments_saferpay-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7bae961bb5e8939bd62b3ddf03190484590783ce352edf6240f90a6cf10b12e8
MD5 56c921ad5d89d0079dde0d2b544ccf44
BLAKE2b-256 74d41865c2da8856879300f6ad5302f535f473ccbc8f8df04dac3cf99dde0c52

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_payments_saferpay-0.0.3-py3-none-any.whl:

Publisher: test-and-release.yml on epfl-cede/django-payments-saferpay

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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