Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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=)
======================================================= ==================================================

Release History

This version
History Node

1.0.27a1

History Node

1.0.26a1

History Node

1.0.25a1

History Node

1.0.24a1

History Node

1.0.23a1

History Node

1.0.22a1

History Node

1.0.21a1

History Node

1.0.20a1

History Node

1.0.19a1

History Node

1.0.18a1

History Node

1.0.17a1

History Node

1.0.16a1

History Node

1.0.15a1

History Node

1.0.14a1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django_demirbank-1.0.27a1-py2.py3-none-any.whl
(11.0 kB) Copy SHA256 Hash SHA256
Wheel 2.7 May 27, 2015
django-demirbank-1.0.27a1.tar.gz
(7.6 kB) Copy SHA256 Hash SHA256
Source None May 27, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting