A quick package for integrating Vnpay payment gateway.
Project description
Django-vnpay
A quick package for integrating Vnpay payment gateway.
Version 0.0.7
Quick start
- Add "vnpay" to INSTALLED_APPS in
setting.py
INSTALLED_APPS = [
...
'vnpay',
]
- Add env variable in
settings.py
VNPAY_TMN_CODE = env('VNPAY_TMN_CODE')
VNPAY_HASH_SECRET_KEY = env('VNPAY_HASH_SECRET_KEY')
VNPAY_PAYMENT_URL = env('VNPAY_PAYMENT_URL')
VNPAY_RETURN_URL = env('VNPAY_RETURN_URL')
- Include the vnpay URLconf in your project urls.py
path('vnpay/', include('vnpay.api_urls')),
-
Run
python manage.py migrateto create related models -
Start the development server and visit http://0.0.7.1:8000/
http://0.0.7.1:8000/admin/ to see the Billing
http://0.0.7.1:8000/vnpay/ to see the urls
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
django-vnpay-0.0.7.tar.gz
(14.4 kB
view details)
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-vnpay-0.0.7.tar.gz.
File metadata
- Download URL: django-vnpay-0.0.7.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b82a509b2443e4227461783f3837471ccf45b6d5053924e3cdecde4643f86e
|
|
| MD5 |
35f2ba24c704bd7aa9a37788a7dc0c1e
|
|
| BLAKE2b-256 |
eba2af26717d92a5768cce18fa2b3145b9f1de680a084b7771eb61312fec3247
|
File details
Details for the file django_vnpay-0.0.7-py3-none-any.whl.
File metadata
- Download URL: django_vnpay-0.0.7-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9d02264d0a4539fb0d6f28f56a7034d8d8b4582801368c01c49156da1359b15
|
|
| MD5 |
b03c4ed359b01c5e143018624c8f66f1
|
|
| BLAKE2b-256 |
006376281bc45b31ad8ef40e9cf2db74788da973177e6af2040437dd45b9c820
|