- Timestamp:
- 5 Mar 2011, 12:34:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/getInterswitchParams.py
r5631 r5795 21 21 d['type'] = 'online' 22 22 d['status'] = 'started' 23 d['surcharge'] = '300'23 d['surcharge'] = 300 24 24 if test == 'simulate': 25 25 d['action'] = "%s/payments/%s/simulate_callback" % (student.absolute_url(),payment_id) #do not use simulate_callback … … 36 36 d['pay_item_name'] = "FUT Minna %(type_description)s" % d 37 37 if paytype == 'HOMH': 38 d[' amount'] = 1500038 d['fee'] = 15000 39 39 elif student_record.level in ('100','200','300','400','500') and student_record.faculty in ('EET','SET','AAT','ICT','EMT'): 40 d[' amount'] = 900040 d['fee'] = 9000 41 41 else: 42 d['amount'] = 7000 42 d['fee'] = 7000 43 d['amount'] = d['fee'] + d['surcharge'] 43 44 d['category'] = 'hostel_maintenance' 44 45 d['item'] = paytype … … 50 51 xmldict['department'] = student_record.department 51 52 xmldict['faculty'] = student_record.faculty 52 xmldict['fut_amount'] = "%d" % int(100*d[' amount'])53 xmldict['fut_amount'] = "%d" % int(100*d['fee']) 53 54 54 55 xmltext = """<payment_item_detail>
Note: See TracChangeset for help on using the changeset viewer.