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
``DEMIR_BANK_ACCOUNT_NORMALIZE_REGEX`` 'regex for removing some parts from account'
======================================================= =============================================
=======================
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
``DEMIR_BANK_ACCOUNT_NORMALIZE_REGEX`` 'regex for removing some parts from account'
======================================================= =============================================
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.24a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626d9375aad2fa78c20c2e4ad4ff8bbc6d3de0bbf8f150505f0eaea64fdf5b5b |
|
MD5 | c43248f5fd8825f43dca6499ee6cdb0b |
|
BLAKE2b-256 | 185b1e35a64e261fcc27c6ec12b20baff771cef233c4366a2186fa129482db46 |
Close
Hashes for django_demirbank-1.0.24a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07870e3e39a98b1d08f8952edc3247a0c4d5c6583e271f46ed738e1b4d71df55 |
|
MD5 | 0283366a23de1be48762ca2f3467e824 |
|
BLAKE2b-256 | 8485c1f0bfe69791b8e077519c0fe71036555229d353789a6aa26ce81ba7a623 |