Changeset 5599 for WAeUP_SRP/trunk/skins/waeup_futminna
- Timestamp:
- 30 Nov 2010, 07:51:27 (14 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_futminna
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/getInterswitchParams.py
r5593 r5599 28 28 else: 29 29 d['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx" 30 31 30 32 if paytype in ("HOM",): 31 33 d['callback_function'] = 'interswitch_cb' … … 39 41 d['category'] = 'hostel_maintenance' 40 42 d['item'] = paytype 41 #d['payment_params'] = 'college_split' 42 d['payment_params'] = '0' 43 44 #Adding xml split data 45 d['payment_params'] = 'college_split' 46 xmldict = {} 47 xmldict['detail_ref'] = student_record.id 48 xmldict['department'] = student_record.department 49 xmldict['faculty'] = student_record.faculty 50 xmldict['fut_amount'] = "%s" % d['amount'] 51 52 xmltext = """<payment_item_detail> 53 <item_details detail_ref="%(detail_ref)s" college="Federal University of Technology Minna" department="%(department)s" faculty="%(faculty)s"> 54 <item_detail item_id="1" item_name="Hostel Maintenance Fee" item_amt="%(fut_amount)s" bank_id="101" acct_num="0591301005175" /> 55 </item_details> 56 </payment_item_detail>""" % xmldict 57 58 d['xml_data'] = xmltext 43 59 44 60 return d 45 46 47 -
WAeUP_SRP/trunk/skins/waeup_futminna/goto_interswitch_form.pt
r3783 r5599 12 12 <input type="hidden" tal:attributes="name python:arg[0];value python:arg[1]" /> 13 13 </span> 14 15 <span tal:replace = "structure info/xml_data" />16 14 17 15 <table>
Note: See TracChangeset for help on using the changeset viewer.