Skip to main content

Django-GetPaid plugin for PayU service.

Project description

Django-getpaid plugin for PayU service.

Installation

First make sure that django-getpaid is installed and configured.

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",
        "client_id": 12345,
        "client_secret": "12f071174cb7eb79d4aac5bc2f07563f",
    },
    # ...
}

That should be enough to make your 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

Authors

Dominik Kozaczko

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-getpaid-payu-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_getpaid_payu-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file django-getpaid-payu-0.1.0.tar.gz.

File metadata

  • Download URL: django-getpaid-payu-0.1.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.2-1-MANJARO

File hashes

Hashes for django-getpaid-payu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 224f221d333f309c6aa7172069c17b6cc76254827b7aa819241f8eca4fa700de
MD5 ca68cb1afb738e20a12fed710fe22bb1
BLAKE2b-256 461c78ce08c0bc653952e99aeb846f375e28a2b6f44e8a49115ad7bfdc3ef7a4

See more details on using hashes here.

File details

Details for the file django_getpaid_payu-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_getpaid_payu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.2-1-MANJARO

File hashes

Hashes for django_getpaid_payu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 621e4da1c7b67836cd0e29f1f14528425ac861be575fcf98f103b71df4ff98a1
MD5 c86ea72f1b40f2c16182b05521b771c7
BLAKE2b-256 5c6b184e53e7933e1b588cf8446198730445b5deb20c71f564cc9b41da2e7ddb

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