Welcome to django_payu’s documentation!¶
This package provides integration between Django and PayU Payment Gateway.
Installation¶
Install:
pip install django-payu
Next, add payu
to your INSTALLED_APPS
setting like this:
INSTALLED_APPS = [
....
....
'payu',
]
Then, add the following settings in the setting file using the details from your PayU account:
PAYU_MERCHANT_KEY = "Your MerchantID",
PAYU_MERCHANT_SALT = "Your MerchantSALT",
# Change the PAYU_MODE to 'LIVE' for production.
PAYU_MODE = "TEST"
Finally, run the following commands:
python manage.py migrate
Contents:
- Configuration Settings
- API Reference
- 1. PayU URL (payu_url)
- 2. Hash (Checksum) - (get_hash)
- 3. Confirm transaction (check_hash)
- 4. Verify transaction (verify_payment)
- 5. Check transaction (check_payment)
- 6. Capture transaction (capture_transaction)
- 7. Refund transaction (refund_transaction)
- 8. Cancel transaction (cancel_transaction)
- 9. Cancel or Refund transaction (cancel_refund_transaction)
- 10. Check action status (check_action_status)