Wiki
Clone wikiDjango NIBL / Home
Django NIBL(Nepal Investment Bank) Online payment System
This module helps to django(python) user to integrate nepali bank name as Nepal Investment Bank(NIBL) to integrate online payment system for e-commerce module.
features
You can easily integrate NIBL payment system.
Steps
1. Settings file - add following line
'NIBL',
2. set url
import NIBL.urls urlpatterns = patterns('', (r'^nibl/', include(NIBL.urls)), )
3. make payment system by calling
from NIBL.forms import NIBLPaymentForm from NIBL.conf import *
nibl_dict = { 'BankId': NIBLFRM['BankId'], 'MD': NIBLFRM['MD'], 'PID': NIBLFRM['PID'], 'ITC': 'item_code', 'CRN': NIBLFRM['CRN'], 'CG': NIBLFRM['CG'], 'USER_LANG_ID':NIBLFRM['USER_LANG_ID'], 'UserType':NIBLFRM['UserType'], 'AppType':NIBLFRM['AppType'], 'PRN': 'received number or product id', 'RU': "http://%s%s" %(current_site,RETURN_URL), 'AMT': 'amount to paid', }
4. Making NIBL form
form = NIBLPaymentForm(initial=nibl_dict,button_type='buy')
5. template (last step to payment)
{{form}}
Query
if any query contact me * Email: cyberkishor@gmail.com * Web: http://kishorkumarmahato.com.np/ * Facebook: http://facebook.com/kishrorkumar/
Have fun!
Updated