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",
        "oauth_id": 12345,
        "oauth_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.2.0.tar.gz (12.3 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.2.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-getpaid-payu-0.2.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.5-3-MANJARO

File hashes

Hashes for django-getpaid-payu-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bd61473b3b5b9c92ba58256dfd5ee711396f3d9ddbc12afe54116096c79a313c
MD5 87137631e6b51e61f49ac42c9fa69532
BLAKE2b-256 f52fcdbc029cfe44676689eeedf6bec8f442ef6a557263869292c69370914466

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for django_getpaid_payu-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ab15a4b14753fecd0b6fb4faa6958436df2f3d0e024a93bbd97a2f04e6543d8
MD5 2b425304f5a38c6ac252b49db388e6ad
BLAKE2b-256 dbb1144812c9d77d7612b9ac8587f78e8897521548ac81e99141780eac44d62a

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