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
======================================================= =============================================
PAY_ACTION_URL 'url/to/demirbank/proces'
CLIENT_ID 12345678 # client id
TRANSACTION_TYPE 'Auth' # type for Selling operation
INSTALMENT '' # empty string for this parameter
OK_URL 'url/to/merchant/success/page'
FAIL_URL 'url/to/merchant/error/page'
STORE_TYPE '3d_Pay_Hosting'
LANG 'ru' # language of demirbank interface
CURRENCY_CODE 417 # currency code for SOM
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
======================================================= =============================================
PAY_ACTION_URL 'url/to/demirbank/proces'
CLIENT_ID 12345678 # client id
TRANSACTION_TYPE 'Auth' # type for Selling operation
INSTALMENT '' # empty string for this parameter
OK_URL 'url/to/merchant/success/page'
FAIL_URL 'url/to/merchant/error/page'
STORE_TYPE '3d_Pay_Hosting'
LANG 'ru' # language of demirbank interface
CURRENCY_CODE 417 # currency code for SOM
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.15a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdddca34a53d97fdb624c0a790a5d4a0dc2051b1529b6a52734122965835abde |
|
MD5 | f96cf6fe506277273c9c5d61de4a1a6b |
|
BLAKE2b-256 | c613b17f11f798f8799405286fd43cfaf3fd4d43660bb33c8173f9b0509ecf0b |
Close
Hashes for django_demirbank-1.0.15a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a0c1a32f0778eede0b93e41e9785c7297bae1cb91444469cdbe33cac66d74a |
|
MD5 | 5f6ba03b03cbd2747dbd8f0af1ce4b41 |
|
BLAKE2b-256 | 17ae83d770bb22a72269f1a8177ff479994b69eecfd2eb3fa96c06fb47e3c7d4 |