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.
0.1.3 (2016-04-22)
Added template setting
Added get_email setting
Added get_language setting
Added get_template setting
Added get_fail_backlink setting
Added get_backlink_url setting
Added auto_capture setting
Updated test geteway url to https://testpay.kkb.kz
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da26b38356ae092b8ab589a3761e5f3ba89b9ba75d7aeedd873942de3d67643 |
|
MD5 | f94b9e7832ce5a0755697eacfcb12fff |
|
BLAKE2b-256 | 0fbefcc8d799c369abf97cc5c95580db165c9f310b754b2b130b76302d31854d |
Hashes for django_getpaid_epay-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f8d8d29b044bb2a288b55657bf5a1992adf93006892572171e18d42ddd81292 |
|
MD5 | d61b00591ef33f3d874e7cde4326a18f |
|
BLAKE2b-256 | 3f2f1b91c833867776aa30a2ac15d84156db9b40399de43c8d1ab20b68312ef7 |