A django-payments backend for the Portmone payment gateway
Project description
django-payments-portmone
A django-payments backend for the Portmone payment gateway (Reference documentation)
Install
pip install django-payments-portmone
Parameters
- payee_id (required): ID of the payee company.
- login (required): Your company login in the Portmone.com system.
- password (required): Your company password in the Portmone.com system.
- currency (default:'UAH'): possible values - UAH, USD, EUR, GBP, BYN, KZT, RUB
- endpoint (default:'https://www.portmone.com.ua/gateway/'): desired endpoint.
- prefix (default:''): Prefix of Portmone order number "{prefix}{payment.pk}".
settings.py
PAYMENT_VARIANTS = {
'portmone': ('payments_portmone.PortmoneProvider', {
'payee_id': '1185',
'login': 'WDISHOP',
'password': 'wdi451',
'endpoint': 'https://www.portmone.com.ua/gateway/',
'prefix': 'P000-'}
),
}
Requirements
python3.6
django
with version1.11
django-payments
with version0.13
Development
When developing locally, we use:
editorconfig
plugin (required)pipenv
(required)pycharm 2020+
Copyright (C) 2020 Onufrienko Vyacheslav
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-payments-portmone-0.1.1.tar.gz
.
File metadata
- Download URL: django-payments-portmone-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097b252ad69fe4e6a2de2338449cef9ec44c98a8fb7f576508dc211f5d1bacbf |
|
MD5 | a5fda968dbca0a529269bf47bcadd29d |
|
BLAKE2b-256 | e42a162c712d1ecd32573881cdaad51f0cb0f8b14510242115716641791ef495 |