Skip to main content

A django-getpaid payment backend for Kazkommertsbank Epay

Project description

A django-getpaid payment backend for Kazkommertsbank Epay



The full documentation is at


  • Authenticate payment
  • Capture blocked money from admin
  • Reverse payment from admin
  • Refund payment from admin
  • Check status from admin


Here is a list of dependecies:

# obvious



You might need to install some system packages to compile M2Crypto. What to install?


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:

./ migrate

Basic configuration

Here is minimal configuration:

    '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


Tools used in rendering this package:


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

0.1.3 (2016-04-22)

  • Bugfix scheme setting handling

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-getpaid-epay, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size django_getpaid_epay-0.1.4-py2.py3-none-any.whl (21.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-getpaid-epay-0.1.4.tar.gz (20.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page