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.0rc1.tar.gz (12.0 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.0rc1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-getpaid-payu-0.2.0rc1.tar.gz
  • Upload date:
  • Size: 12.0 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 94facba7c3c9fb40716eb7144f5bf98a9f84b35ce6daf54fbe47d5428e38ec8c
MD5 3420e89acb63111d8c349b2782dccd05
BLAKE2b-256 095e907aa1a2cf6169a8808f8fc04b9aa4695ed86be0ff2494db035f9f2fa27e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_getpaid_payu-0.2.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 a07419365daa90a817e53544abc166534905faef498601888847f1e103127f3c
MD5 ee9ecf6604dce0e6fd586d8c1a28aff4
BLAKE2b-256 423d731d717b5708bcc8851d35f9075ce2788962971ea67e16a87bdf567a2a91

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