Changeset 5603 for WAeUP_SRP/trunk/skins/waeup_futminna
- Timestamp:
- 1 Dec 2010, 12:38:52 (14 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_futminna
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/getInterswitchParams.py
r5601 r5603 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=paytype,student,payment_id, student_record7 ##parameters=paytype,student,payment_id,order_id,student_record 8 8 ##title= 9 9 ## … … 45 45 d['payment_params'] = 'college_split' 46 46 xmldict = {} 47 xmldict['detail_ref'] = student_record.id47 xmldict['detail_ref'] = order_id 48 48 xmldict['department'] = student_record.department 49 49 xmldict['faculty'] = student_record.faculty -
WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch_acco.py
r5601 r5603 39 39 timestamp = "%d" % int(now.timeTime()*1000) 40 40 payment_id = "p%s" % timestamp 41 order_id = "%s%s" % (student_id[1:],timestamp) 41 42 hostel = paytype == "HOM" 42 43 if hostel: 43 info = context.getInterswitchParams(paytype,student,payment_id, student_record)44 info = context.getInterswitchParams(paytype,student,payment_id,order_id,student_record) 44 45 info['student'] = student_record 45 46 else: … … 52 53 info['student_email'] = student_record.email 53 54 info['date'] = now 54 info['order_id'] = "%s%s" % (student_id[1:],timestamp)55 info['order_id'] = order_id 55 56 56 57 if "payments" not in student.objectIds():
Note: See TracChangeset for help on using the changeset viewer.