- Timestamp:
- 24 May 2018, 08:02:17 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r14964 r15021 38 38 CURRENCY = '566' 39 39 GATEWAY_AMT = 250.0 40 MAC = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627' 40 41 41 42 POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay' … … 111 112 currency = CURRENCY 112 113 product_id = PRODUCT_ID 113 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'114 mac = MAC 114 115 pay_item_id = '000' 115 116 … … 156 157 xmldict['institution_acct'] = '2006612782' 157 158 xmldict['institution_bank_id'] = '8' 159 elif self.context.p_category == 'sports': 160 self.pay_item_id = '110' 161 xmldict['institution_acct'] = '6060300688' 162 xmldict['institution_bank_id'] = '51' 163 elif self.context.p_category == 'siwes': 164 self.pay_item_id = '111' 165 xmldict['institution_acct'] = '1001174679' 166 xmldict['institution_bank_id'] = '123' 167 elif self.context.p_category == 'eed': 168 self.pay_item_id = '112' 169 xmldict['institution_acct'] = '0039782431' 170 xmldict['institution_bank_id'] = '11' 171 elif self.context.p_category == 'olevel_results': 172 self.pay_item_id = '113' 173 xmldict['institution_acct'] = '2015327204' 174 xmldict['institution_bank_id'] = '8' 158 175 elif self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): 159 176 self.pay_item_id = SPECIAL_PAYMENT_PARAMS[self.context.p_category][0] … … 271 288 pay_item_id = '101' # must be provided by Interswitch 272 289 product_id = PRODUCT_ID 273 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'290 mac = MAC 274 291 275 292 def update(self): … … 353 370 gateway_host = HOST 354 371 gateway_url = URL 355 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'372 mac = MAC 356 373 357 374 class CustomInterswitchPaymentVerifyWebservicePageStudent( … … 363 380 gateway_host = HOST 364 381 gateway_url = URL 365 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'382 mac = MAC 366 383 367 384 class CustomInterswitchPaymentRequestWebservicePageApplicant( … … 373 390 gateway_host = HOST 374 391 gateway_url = URL 375 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'392 mac = MAC 376 393 377 394 class CustomInterswitchPaymentVerifyWebservicePageApplicant( … … 383 400 gateway_host = HOST 384 401 gateway_url = URL 385 mac = 'D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'402 mac = MAC
Note: See TracChangeset for help on using the changeset viewer.