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 Mollie 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.1.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.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_payments_saferpay-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6a2ebcf87caac7387cc98006d32bd501ce05f12c0c4e818281d9fe1b47a39f1a
MD5 16cae4d1f8ac3ccace7ad61c1d4307ca
BLAKE2b-256 65494e02c82bfb73ee1db4afe532c7915e7ba2ff8df169bd18419379538cc8ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_payments_saferpay-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6db0478fabf60a229a77585934a8f950598c226d12383debb4641181c6a6d58b
MD5 de24614dc850eae100f32b3530e46ef8
BLAKE2b-256 43e74a1aba854e97c07c54103f885eb9dba2bffbd550324d63708930c7cd5b21

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