Skip to main content

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_DATABASE_CONNECTION_NAME`` needed for using inside transaction.atomic(using=)
======================================================= ==================================================

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-demirbank-1.0.27a1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

django_demirbank-1.0.27a1-py2.py3-none-any.whl (11.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-demirbank-1.0.27a1.tar.gz.

File metadata

File hashes

Hashes for django-demirbank-1.0.27a1.tar.gz
Algorithm Hash digest
SHA256 23e4ed907d49c7137e3a77b5270914e7128d54792525659576061cb512e141bc
MD5 311e48b6edb04695cf29770eb1fc4808
BLAKE2b-256 4daec509a90932a578e06d832bca745278564eec0f80f25498885b4c1203bb22

See more details on using hashes here.

File details

Details for the file django_demirbank-1.0.27a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_demirbank-1.0.27a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f2c217880ffe31a73f80097e6ce45abd0e8c6be53c4a203635e3c46fa4bd096
MD5 938e7884f3c7e863757992f156da8097
BLAKE2b-256 1eebe59f2900073c81a4a6b1f30280f51da7489a2c930e4e0e4da239be03a6db

See more details on using hashes here.

Supported by

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