django-getpaid-payu
Django-getpaid plugin for PayU service.
Installation
First make sure that django-getpaid is installed and configured.
Then, simply install the plugin:
pip install django-getpaid-payu
This should pull django-getpaid in case it’s not installed yet.
Configuration
Add "getpaid_payu" to your INSTALLED_APPS and add plugin configuration.
# settings.py
INSTALLED_APPS = [
# ...
"getpaid",
"getpaid_payu",
]
GETPAID_BACKEND_SETTINGS = {
"getpaid_payu": {
# take these from your merchant panel:
"pos_id": 12345,
"second_key": "91ae651578c5b5aa93f2d38a9be8ce11",
"oauth_id": 12345,
"oauth_secret": "12f071174cb7eb79d4aac5bc2f07563f",
},
# ...
}
That should be enough to make your django-getpaid integration use new plugin and allow you to choose PayU for supported currencies.
Other settings
You can change additional settings for the plugin:
confirmation_method
PUSH - paywall will send status updates to the callback endpoint hence updating status automatically
PULL - each Payment has to be verified by calling its fetch_and_update_status(), eg. from a Celery task.
Default: PUSH
paywall_method
REST - payment will be created using REST api call to paywall
POST - an extra screen will be displayed with a confirmation button that will send all Payment params to paywall using POST. This is not recommended by PayU.
Licence
MIT
Metadata
Release files for django-getpaid-payu 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-getpaid-payu-0.2.1.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_getpaid_payu-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / django-getpaid-payu-0.2.1.tar.gz
| Download URL | django-getpaid-payu-0.2.1.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58aeaba4d15568eee943faf663e9567c5613b120ebb9e77300c0d1bc51ac8ed4
|
|
BLAKE2b-256 checksum How to use checksums |
042195b2959451e3629d3e3fe924fa6f6e0e4cc082045258f3090a26b3dab78c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0a2 CPython/3.9.9 Linux/5.15.6-2-MANJARO
|
Release files / django_getpaid_payu-0.2.1-py3-none-any.whl
| Download URL | django_getpaid_payu-0.2.1-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34342f48ce6f7756fc38daf641e89a8d08c337f2bf2bd6776cbc1ba8e152d0c8
|
|
BLAKE2b-256 checksum How to use checksums |
e34e533a5b5f9f0f6fde7c0dc625a1967fe34f3d8783155d8f2cdf89511e1a69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0a2 CPython/3.9.9 Linux/5.15.6-2-MANJARO
|