DemirBank library for making payment using store type = 3d_Pay_Hosting and transaction type = Auth
Project description
Library django-demirbank
=======================
Supports only one operation "Selling" (type `Auth`) which includes `Pre-Auth` and `Post-Auth`
Supported only following settings
``STORE_TYPE = '3d_Pay_Hosting'``
``TRANSACTION_TYPE = 'Auth'``
Library settings
================
The following settings needs to add inside ``settings/dev.py`` or ``settings/prod.py``
======================================================= =============================================
Name Value
======================================================= =============================================
DEMIR_BANK_PAY_ACTION_URL 'url/to/demirbank/proces'
DEMIR_BANK_CLIENT_ID 12345678 # client id
DEMIR_BANK_TRANSACTION_TYPE 'Auth' # type for Selling operation
DEMIR_BANK_INSTALMENT '' # empty string for this parameter
DEMIR_BANK_OK_URL 'url/to/merchant/success/page'
DEMIR_BANK_FAIL_URL 'url/to/merchant/error/page'
DEMIR_BANK_STORE_TYPE '3d_Pay_Hosting'
DEMIR_BANK_LANG 'ru' # language of demirbank interface
DEMIR_BANK_CURRENCY_CODE 417 # currency code for SOM
DEMIR_BANK_STORE_KEY 'KEY VALUE RECEIVED FROM BANK'
``DEMIR_BANK_CLIENT_MODEL_PATH`` 'some_app.models' #for example
``DEMIR_BANK_CLIENT_MODEL_NAME`` 'Client' #for example
``DEMIR_BANK_CLIENT_MODEL_SEARCH_FIELD`` 'phone_number' #for example
``DEMIR_BANK_CLIENT_MODEL_UPDATE_BALANCE_METHOD_NAME`` 'update_balance' #for example
======================================================= =============================================
=======================
Supports only one operation "Selling" (type `Auth`) which includes `Pre-Auth` and `Post-Auth`
Supported only following settings
``STORE_TYPE = '3d_Pay_Hosting'``
``TRANSACTION_TYPE = 'Auth'``
Library settings
================
The following settings needs to add inside ``settings/dev.py`` or ``settings/prod.py``
======================================================= =============================================
Name Value
======================================================= =============================================
DEMIR_BANK_PAY_ACTION_URL 'url/to/demirbank/proces'
DEMIR_BANK_CLIENT_ID 12345678 # client id
DEMIR_BANK_TRANSACTION_TYPE 'Auth' # type for Selling operation
DEMIR_BANK_INSTALMENT '' # empty string for this parameter
DEMIR_BANK_OK_URL 'url/to/merchant/success/page'
DEMIR_BANK_FAIL_URL 'url/to/merchant/error/page'
DEMIR_BANK_STORE_TYPE '3d_Pay_Hosting'
DEMIR_BANK_LANG 'ru' # language of demirbank interface
DEMIR_BANK_CURRENCY_CODE 417 # currency code for SOM
DEMIR_BANK_STORE_KEY 'KEY VALUE RECEIVED FROM BANK'
``DEMIR_BANK_CLIENT_MODEL_PATH`` 'some_app.models' #for example
``DEMIR_BANK_CLIENT_MODEL_NAME`` 'Client' #for example
``DEMIR_BANK_CLIENT_MODEL_SEARCH_FIELD`` 'phone_number' #for example
``DEMIR_BANK_CLIENT_MODEL_UPDATE_BALANCE_METHOD_NAME`` 'update_balance' #for example
======================================================= =============================================
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
Built Distribution
Close
Hashes for django-demirbank-1.0.21a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104cbc900fb522133d4f99e092ba441be5e5a355dc1b6e1cc3ba3c7b8d841bf4 |
|
MD5 | 65a2f73f9e5b9943dcb51e1904e7bd5e |
|
BLAKE2b-256 | 9a72db5ef51725f049466be1bc098aaaf7c8a29b51328167e116edf144fcede4 |
Close
Hashes for django_demirbank-1.0.21a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9866d19ee311c564d1ff63fac804ba190fe2efac25c9f483070449c774e7c373 |
|
MD5 | 7dda352285d70c2c282589f08f5f9b4c |
|
BLAKE2b-256 | d3ef2684e16e71cdab91cd5762f735661a1d73d27db57b404e6ee2ad5430cd8c |