Skip to main content

Persian payline.ir payment gateway in django.

Project description

# django-payline-dotir
use Iranian payment gateway http://payline.ir in django (it's NOT related to payline.com).

====================
django-payline-dotir
====================

use payline_dotir to payment in http://payline.ir payment gatewary.
be aware that it's not related to payline.com.

Detailed documentation is in the "docs" directory.

sample examle project is in the "example" directory.

Installation
------------
0. create a django project and payment app::
django-admin startproject payline_ir_proj
cd payline_ir_proj
django-admin startapp payment


1. install django-payline-dotir::
pip install django-payline-dotir

2. add "payment" to INSTALLED_APPS ::
INSTALLED_APPS = (
...
'payment',
)

3. add PAYLINE_DOTIR_API = "your api key from http://payline.ir"
and for test purpose add IS_PAYLINE_DOTIR_TEST = True to settings.py

4. create your custom views, urls and templates.
example project is in the example directory.

5. Enjoy!

source code
-----------
source code can be found here

https://github.com/Bornazadeh/django-payline-dotir

Please use this repo for issue ,bug reporting and also patch and PR :).

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-payline-dotir-0.3.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file django-payline-dotir-0.3.tar.gz.

File metadata

File hashes

Hashes for django-payline-dotir-0.3.tar.gz
Algorithm Hash digest
SHA256 93c3db80d23ef758fab810c1da52184bacf9969a3f05dd102e5c97e06e6ba613
MD5 bf3ccbc95f5925589fb1f2d14281d181
BLAKE2b-256 84e0abcfd9de618ff6c9e72a8f5b390d2278185e1fb191df8fac8d5513fdd82d

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