Django Paystack Payments package
Project description
django_paystack
Django Paystack Payments package
Documentation
The full documentation is at https://django_paystack.readthedocs.io.
Quickstart
Install django_paystack:
pip install django_paystack
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_paystack',
...
)
Then in your settings.py file, create the following settings:
PAYSTACK_SETTINGS = {
"PUBLIC_KEY": "pk_test_xxx",
"SECRET_KEY": "sk_test_xxx",
"CURRENCY": "NGN",
"BUTTON_CLASS": "",
"BUTTON_ID": "django-paystack-button",
"SUCCESS_URL": "paystack:success_page",
"FAILURE_URL": "paystack:failure_page",
}
Add django_paystack's URL patterns:
urlpatterns = [
...
path("paystack/", include(('django_paystack.urls','paystack'),namespace='paystack')),
...
]
Features
- TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Development commands
pip install -r requirements_dev.txt
invoke -l
Credits
Tools used in rendering this package:
- Based on the work of pypaystack2
- Inspiration from gbozee/pypaystack
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_paystack-1.0.0.tar.gz.
File metadata
- Download URL: django_paystack-1.0.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a142b78daff6ae53625dfe8f2445b59732ac924d5ff157af506ae049f76a284a
|
|
| MD5 |
4eb9d1b55d0cc2d1ecda1a88b8cd543f
|
|
| BLAKE2b-256 |
6fd1b0f56d5e1dace2c12efe9fbb9365d0a2010bce270ed33249b8ee184292ee
|
File details
Details for the file django_paystack-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: django_paystack-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc3b67a5a11e38650f4c32a9a9816a2314c460f3e6a436214274ea8319880fd8
|
|
| MD5 |
882620d19d81e4a2459f95fbd0ad8b65
|
|
| BLAKE2b-256 |
cc7bc68884a61b60e7d48fe55ee21e62205b0b592911ff2ac078dbbe2bdc1360
|