django-oscar-payu. An Oscar package for integration with payu payment gateway
Project description
# django-oscar-payu #
Following are the configurations required for setting up django-oscar-payu
### Installation ###
`pip install django-oscar-payu`
### Getting Started ###
Add the following to the `setting.py` file of your django-oscar setup
`PAYU_INFO = {
'INR': {
'merchant_key': "gtKFFx",
'merchant_salt': "eCwWELxi",
# for production environment use 'https://secure.payu.in/_payment'
'payment_url': 'https://test.payu.in/_payment',
}
}`
run `migrate.py` on --> python manage.py migrate
Add following to the dashboard navigation
`
OSCAR_DASHBOARD_NAVIGATION.append({
'label': _('Payments'),
'icon': 'icon-globe',
'children': [
{
'label': _('Paypal Express transactions'),
'url_name': 'paypal-express-list',
},
{
'label': _('Payu transactions'),
'url_name': 'payu-nonseamless-list',
},
{
'label': _('COD Transaction Lists'),
'url_name': 'cashondelivery-transaction-list',
},
]
})
`
Following are the configurations required for setting up django-oscar-payu
### Installation ###
`pip install django-oscar-payu`
### Getting Started ###
Add the following to the `setting.py` file of your django-oscar setup
`PAYU_INFO = {
'INR': {
'merchant_key': "gtKFFx",
'merchant_salt': "eCwWELxi",
# for production environment use 'https://secure.payu.in/_payment'
'payment_url': 'https://test.payu.in/_payment',
}
}`
run `migrate.py` on --> python manage.py migrate
Add following to the dashboard navigation
`
OSCAR_DASHBOARD_NAVIGATION.append({
'label': _('Payments'),
'icon': 'icon-globe',
'children': [
{
'label': _('Paypal Express transactions'),
'url_name': 'paypal-express-list',
},
{
'label': _('Payu transactions'),
'url_name': 'payu-nonseamless-list',
},
{
'label': _('COD Transaction Lists'),
'url_name': 'cashondelivery-transaction-list',
},
]
})
`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-oscar-payu-1.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for django_oscar_payu-1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ffb75c4004f851a73400d447896d2b7e61f62901f27a01d8bc96f42186c38a |
|
MD5 | 6c15ec8b00506e2acbff519b656a2269 |
|
BLAKE2b-256 | 89dbecf18ecce21322a1bba62892f3dbef049e80e934c1937feff08786988b71 |