A django-getpaid payment backend for Kazkommertsbank Epay
Project description
A django-getpaid payment backend for Kazkommertsbank Epay
Documentation
The full documentation is at https://django-getpaid-epay.readthedocs.org.
Features
Authenticate payment
Capture blocked money from admin
Reverse payment from admin
Refund payment from admin
Check status from admin
Dependencies
Here is a list of dependecies:
# obvious django django-getpaid M2Crypto django-model-utils xmltodict requests
Quickstart
Install django-getpaid and then install django-getpaid-epay:
pip install django-getpaid-epay
Add epay to INSTALLED_APPS and GETPAID_BACKENDS in your django project. Do not forget to configure the GETPAID_ORDER_MODEL setting.
Run migration:
./manage.py migrate
Basic configuration
Here is minimal configuration:
GETPAID_BACKENDS_SETTINGS = { 'epay' : { "key_passphrase" : 'your private key passphrase', # can be omitted if you have removed passphrase "merchant_private_key" : 'path to your private key', "merchant_id" : "92061101", "merchant_name" : "Test Shop", "merchant_cert_id" : "00c182b189" # "kkb_pub_key": 'path to Kazkom Public Key (kkbca.pem)', # optional # "modify_order_id": lambda id: id + 100000, # "unmodify_order_id": lambda id: id - 100000, # 'scheme': 'http', # 'testing' : True, # optional }, }
Credits
Tools used in rendering this package:
History
0.1.0 (2016-02-22)
First release on PyPI.
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
Hashes for django-getpaid-epay-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5acc4ea8e772e1caf081e691d8db82c29ff006111dcf71235560fe073a0cd1 |
|
MD5 | a4e8793386b88de13a1840989dce6ff6 |
|
BLAKE2b-256 | 31b58fbc3dc4ca46c713e3e31392ad41949588039470f3551093acc2525c2379 |
Hashes for django_getpaid_epay-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d1fffdb6883de95dd737e12ae47fc0a073673037f88efa4270a654f2dd8597 |
|
MD5 | 12590b2df9e6f3d9fbaa5ae716e4ec94 |
|
BLAKE2b-256 | c94981cd18556c14a1bb34164552179e138b84546f4d553e6154ee2eae293f88 |