Integration between django-plans and django-payments.
Project description
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 = (
...
'related_admin',
'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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-plans-payments-0.5.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e8bcbcf0f34f5b9ea3294a0009e486d9e5f570d1719aff2c33e6c9078971c27 |
|
MD5 | 591a18a44e0206dbd93b5bc1d811f029 |
|
BLAKE2b-256 | 9c8f09ef601db5d79b14c162d4b97b547a83f2a854d23b9c8c4dba0ea6e0178c |