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
Close
Hashes for django-payments-portmone-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097b252ad69fe4e6a2de2338449cef9ec44c98a8fb7f576508dc211f5d1bacbf |
|
MD5 | a5fda968dbca0a529269bf47bcadd29d |
|
BLAKE2b-256 | e42a162c712d1ecd32573881cdaad51f0cb0f8b14510242115716641791ef495 |