django-payments provider for PayBox.money
Project description
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}"
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
Built Distribution
Close
Hashes for django-payments-paybox-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad4ad4dd52e79d86207fb1b775e8b931dbae5f93a39d2cc2b52aaa78cde4490e |
|
MD5 | 4aa148fe67758af8ca24e2fd42a0682e |
|
BLAKE2b-256 | a739847ed7dffb29c5e573bf8084c0ad398fa0fbc6f34515fbfd3437b4e96f41 |
Close
Hashes for django_payments_paybox-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24b23f9f8e2297adda79b7c9cfa2f00a390bce86c30848f8afd0f48783184b6 |
|
MD5 | 838bfdb94ba1dd14bc48331c84ce5d23 |
|
BLAKE2b-256 | bf0b9a679290925e4106294d592d4559971c7acfe9e9884e1de0a3683547da9d |