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.0rc2.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.0rc2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-getpaid-payu-0.2.0rc2.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.0rc2.tar.gz
Algorithm Hash digest
SHA256 b59e26b60a7db334d7e5c488fd074af54978657de36338275798b5cf42796fc6
MD5 bd8833770e8bc123b7b3e5ff18fb8a0b
BLAKE2b-256 d9838ae7df5810e0c8789762465bf181c45c121fbb254a22f3f3de846ffe7d0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_getpaid_payu-0.2.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 9041adf09a343c3330f4998dd309f6893610f4d3138465f26b7d0e49b02bc322
MD5 05bf1d77cbc754b27612b3dcef7ea1af
BLAKE2b-256 c0ced8f1285aee589147d8f63853a366e9717b6ee4d1d40d5377edd8e467c592

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