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.22a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0990691b432c5ce20a4303b2dbf5f483de5ca54cd5806c37a56f751532b61f3b |
|
MD5 | 57059449202a1eb5b647d1aa39022098 |
|
BLAKE2b-256 | d236d5a8968eaa3e176eb2187e89a927569a0d9c2ca39e9bbe390aa4409ba81b |
Close
Hashes for django_demirbank-1.0.22a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef0569dd329d5cf8b5f0a5296e86183d21a15e7bec0a00d4c1bcace63e06f76 |
|
MD5 | 615bca2a06377eb4ff414fe53a6d93df |
|
BLAKE2b-256 | 00e5d0fe46711ca5b6a7a74c003eca745574614d94f015e7562479d213664a0d |