- Timestamp:
- 24 Oct 2017, 08:43:15 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r14869 r14875 99 99 100 100 101 # Not yet readily configured. MAC is missing.Bank account numbers are101 # Not yet readily configured. Bank account numbers are 102 102 # contradictory. pay_item_ids are not yet assigned. 103 103 … … 111 111 currency = CURRENCY 112 112 product_id = PRODUCT_ID 113 mac = '' # must be provided by Interswitch 113 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627' 114 pay_item_id = '000' 114 115 115 116 def update(self): … … 127 128 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 128 129 # Institution data 129 xmldict['institution_acct'] = '00 10761873'130 xmldict['institution_bank_id'] = ' 11'130 xmldict['institution_acct'] = '00000000' 131 xmldict['institution_bank_id'] = '00' 131 132 xmldict['institution_amt'] = '0.0' 132 provider_amt = 500.0 133 133 provider_amt = 0.0 134 134 if self.context.p_category.startswith('schoolfee'): 135 135 self.pay_item_id = '102' 136 provider_amt = 2800.0 137 if self.student.current_mode.endswith('pt') or \ 138 self.student.current_mode.endswith('we'): 139 xmldict['institution_acct'] = '1012808851 ' 140 xmldict['institution_bank_id'] = '117' 141 elif self.student.current_mode in ('nd_ft', 'hnd_ft'): 142 xmldict['institution_acct'] = '0026235493' 143 xmldict['institution_bank_id'] = '31' 136 144 elif self.context.p_category == 'clearance': 137 145 self.pay_item_id = '103' 138 elif self.context.p_category == 'bed_allocation': 139 self.pay_item_id = '104' 140 elif self.context.p_category == 'hostel_maintenance': 141 self.pay_item_id = '105' 142 elif self.context.p_category == 'transfer': 143 self.pay_item_id = '106' 144 elif self.context.p_category == 'gown': 145 self.pay_item_id = '107' 146 elif self.context.p_category == 'transcript': 147 self.pay_item_id = '108' 148 elif self.context.p_category == 'late_registration': 149 self.pay_item_id = '109' 146 provider_amt = 500.0 147 if self.student.current_mode.endswith('pt') or \ 148 self.student.current_mode.endswith('we'): 149 xmldict['institution_acct'] = '1012808851 ' 150 xmldict['institution_bank_id'] = '117' 151 elif self.student.current_mode == 'nd_ft': 152 xmldict['institution_acct'] = '2004402644' 153 xmldict['institution_bank_id'] = '8' 150 154 elif self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): 151 155 self.pay_item_id = SPECIAL_PAYMENT_PARAMS[self.context.p_category][0] … … 262 266 gateway_host = HOST 263 267 gateway_url = URL 268 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627' 264 269 265 270 class CustomInterswitchPaymentVerifyWebservicePageStudent( … … 271 276 gateway_host = HOST 272 277 gateway_url = URL 278 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627' 273 279 274 280 class CustomInterswitchPaymentRequestWebservicePageApplicant(
Note: See TracChangeset for help on using the changeset viewer.