Skip to main content

Payments using Payline

Project description

Build Status

Easily make payments using Payline

  • Author: Mathieu Agopian and contributors

  • Licence: BSD

  • Compatibility: Django 1.3+

  • Requirements: suds

Installation

  • pip install -U django-payline

  • Add payline to your INSTALLED_APPS

For extensive documentation see the docs folder or read it on readthedocs

To install the in-development version of django-payline, run pip install django-payline==dev.

Help

Drop me a mail.

Bugs

Really? Oh well… Please Report. Or better, fix :)

Development

Thanks for asking!

Get the code:

git clone git@github.com:magopian/django-payline.git
cd django-payline
virtualenv -p python2 env
source env/bin/activate
add2virtualenv .

Install the development requirements:

pip install -r requirements.txt
pip install django  # must be django 1.3 or above

Run the tests:

DJANGO_SETTINGS_MODULE=payline.test_settings make test

By default, two integration tests will be skipped when running the tests. Those integration tests need the following settings (put them in a settings.py file):

from test_settings import *


PAYLINE_MERCHANT_ID = 'your payline merchant ID'
PAYLINE_KEY = 'your payline API key'
PAYLINE_VADNBR = 'your payline VAD number'

Then run the full test suite, including the integration tests:

DJANGO_SETTINGS_MODULE=payline.settings make test

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-0.1.tar.gz (14.8 kB view details)

Uploaded Source

File details

Details for the file django-payline-0.1.tar.gz.

File metadata

File hashes

Hashes for django-payline-0.1.tar.gz
Algorithm Hash digest
SHA256 a278973470aa3bd144eb8d413a3591aab5572d0bc4612e2045fd35281d4f8475
MD5 b1bc3a9e852e55a0aefcf80892f94536
BLAKE2b-256 cc99806376d8e94a78d417005389dd9d5ce01f77d3dcaea0809b6f4086bfbdc8

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