Skip to main content

A django-getpaid payment backend for Kazkommertsbank Epay

Project description

https://badge.fury.io/py/django-getpaid-epay.png

A django-getpaid payment backend for Kazkommertsbank Epay

_static/logo.png

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

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.

Source Distribution

django-getpaid-epay-0.1.4.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_getpaid_epay-0.1.4-py2.py3-none-any.whl (21.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-getpaid-epay-0.1.4.tar.gz.

File metadata

File hashes

Hashes for django-getpaid-epay-0.1.4.tar.gz
Algorithm Hash digest
SHA256 04a665dcc97693774e9152de768ae3f03de1dc1c06acbeeee3eabef2b42ecb8a
MD5 36fd73c049004700ad083c712d9112a2
BLAKE2b-256 1bcad684d7441c9ebc91ec98d96f194e847e5af0ebfcbf8dfd1066e5b05e8567

See more details on using hashes here.

File details

Details for the file django_getpaid_epay-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_getpaid_epay-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cfc41c757b07cba0fe94a2eefb64ebe1fcf1d71c157bd2a706a3b426ae0b60fc
MD5 a8acabb5946939846fc1195f5d58c585
BLAKE2b-256 d572d7c8ccbe6ee506f692fbf50e430cd80b821e50c21492fd52d88b892c48e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page