Skip to main content

django-payments-paybox

⚠️⚠️⚠️ Not Ready This package in development. Do not use it.

This is django-payments provider for PayBox.money.

Installation

pip install django-payments-paybox

Or with poetry

poetry add django-payments-paybox

Dependencies

This package require next deps:

  • django-payments

Configuration example

In settings.py you must connect this provider

PAYMENT_VARIANTS = {
    "default": (
        "django_payments_provider.PayboxProvider",
        {
            "secret": "your_secret",
            "merchant_id": 1000000, # your merchant_id
            "site_url": "https://your_site.dev",
            "testing_mode": 1, # enabled by default
        },
    )
}

Required methods in payment model

from payments.models import BasePayment


class Payment(BasePayment):
    def get_failure_url(self):
        return "https://your_site.dev/failure/"

    def get_success_url(self):
        return "https://your_site.dev/success/"

    def get_process_url(self):
        path = super().get_process_url()
        return f"https://your_site.dev{path}"

Metadata

Release files for django-payments-paybox 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-payments-paybox 0.2.3
File Size Uploaded
django-payments-paybox-0.2.3.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-payments-paybox 0.2.3
File Interpreter ABI Platform
django_payments_paybox-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / django-payments-paybox-0.2.3.tar.gz

Download URL django-payments-paybox-0.2.3.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
03066682077f934413bb83e82c4cdfad969c705f00b7bf8b60d184110a1410ab
BLAKE2b-256 checksum
How to use checksums
eb985176c7d662d8b76169a43632555725431270816248704ed90373248b99a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.5 Darwin/19.6.0

Release files / django_payments_paybox-0.2.3-py3-none-any.whl

Download URL django_payments_paybox-0.2.3-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1533264fed4c6198d69354d447c03cbf22c37c0692e3ac2f35bcab7fb905a361
BLAKE2b-256 checksum
How to use checksums
bd316473c9db2d46618d15c8ba961657b4965c12e85aac209806e43056d4cef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.5 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page