Skip to main content

Integration between django-plans and django-payments.

Project description

https://badge.fury.io/py/django-plans-payments.svg https://travis-ci.org/PetrDlouhy/django-plans-payments.svg?branch=master https://codecov.io/gh/PetrDlouhy/django-plans-payments/branch/master/graph/badge.svg

Almost automatic integration between django-plans and django-payments. This will add payment buttons to the order page and automatically confirm the Order after the payment.

Documentation

The full documentation is at https://django-plans-payments.readthedocs.io.

Quickstart

Install and configure django-plans and django-payments apps. Capture mode is not yet supported, so PAYMENT_VARINANTS with 'capture': False will not get confirmed.

Install Django plans payments:

pip install django-plans-payments

Add it to your INSTALLED_APPS, before the plans:

INSTALLED_APPS = (
    ...
    'plans_payments',
    'plans',
    ...
)

Add Django plans_payments to the URL patterns:

urlpatterns = [
    ...
    url(r'^plans-payments', include('plans_payments.urls')),
    ...
]

Set django-plans settings and set model to:

PAYMENT_MODEL = 'plans_payments.Payment'

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.2.0 (2018-08-05)

  • Payment process without capturing should work

  • Automatic buttons generation

0.1.0 (2018-07-23)

  • First release on PyPI.

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-plans-payments-0.5.0.tar.gz (20.3 kB view details)

Uploaded Source

File details

Details for the file django-plans-payments-0.5.0.tar.gz.

File metadata

  • Download URL: django-plans-payments-0.5.0.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for django-plans-payments-0.5.0.tar.gz
Algorithm Hash digest
SHA256 45ae9da6c2ffc1a094617e2b670d81bc7fb0349d1c26558055aca2cf01c1accc
MD5 5096dbd6b313f0f42b63673f9b4b560a
BLAKE2b-256 8fbf6f4de508044b6daf5e263c67542c02f4e18b9a3c4e03bea8362c39ebe55a

See more details on using hashes here.

Supported by

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