Skip to content

MicroPyramid/django-payu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-PayU

http://travis-ci.org/MicroPyramid/django-payu.svg?branch=master https://coveralls.io/repos/github/MicroPyramid/django-payu/badge.svg?branch=master Code Health

This package provides integration between Django and PayU Payment Gateway.

Quick start

  1. Install 'django-payu' using the following command:

    pip install django-payu
    
  2. Add "payu" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ....
        ....
        'payu',
    ]
    
  3. 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",
    
    # And add the PAYU_MODE to 'TEST' for testing and 'LIVE' for production.
    PAYU_MODE = "TEST"
    
  4. Finally, run the following commands:

    python manage.py migrate
    
  5. Run the tests:

    python test_runner.py  test -v 2
    

Visit our Django E-commerce Development page Here

For additional help you can Contact us here