Changeset 3782 for WAeUP_SRP/trunk/skins/waeup_futminna
- Timestamp:
- 22 Nov 2008, 21:15:38 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch.py
r3780 r3782 81 81 82 82 if True: 83 info['action'] = "https://webpay.interswitchng.com/ paydirect/webpay/pay.aspx"83 info['action'] = "https://webpay.interswitchng.com/test_paydirect/webpay/pay.aspx" 84 84 else: 85 85 info['action'] = "%s/payments/%s/simulate_callback" % (student.absolute_url(),p_id) … … 125 125 args[arg] = info[field] 126 126 127 bt_amount = 1 200128 #fut_split = 0000 127 bt_amount = 1500 128 #fut_split = 0000 #not appicable 129 129 fut_amount = amount - bt_amount 130 130 … … 140 140 #students at all levels pay their school fees to different banks 141 141 if student_record.review_state == 'cleared_and_validated' and student_record.level in ('100'): 142 xmldict['fut_acct'] = " 6013803345"143 xmldict['bank_id'] = '7 ' #check for Zenith Bank code142 xmldict['fut_acct'] = "0510031193719" 143 xmldict['bank_id'] = '75' 144 144 elif student_record.review_state == 'returning' and student_record.level in ('100'): 145 145 xmldict['fut_acct'] = "0030001000017110" 146 xmldict['bank_id'] = '89' #Intercontinental Bank code146 xmldict['bank_id'] = '89' 147 147 elif student_record.level in ('200'): 148 148 xmldict['fut_acct'] = "2522040000134" 149 xmldict['bank_id'] = '8' #check for First Bank code149 xmldict['bank_id'] = '8' 150 150 elif student_record.level in ('300','400'): 151 151 xmldict['fut_acct'] = "0591201005146" 152 xmldict['bank_id'] = ' 8' #check for Oceanic Bank code152 xmldict['bank_id'] = '101' 153 153 #remedial students 154 154 elif student_record.level in ('000'): 155 xmldict['fut_acct'] = " 00000000000"156 xmldict['bank_id'] = ' 8' #check for Bank code & account number for remedial155 xmldict['fut_acct'] = "6013803183" 156 xmldict['bank_id'] = '117' 157 157 else: 158 158 xmldict['fut_acct'] = "0000000000000"
Note: See TracChangeset for help on using the changeset viewer.