Changeset 15021 for main/kofacustom.dspg/trunk
- Timestamp:
- 24 May 2018, 08:02:17 (7 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interfaces.py
r14942 r15021 302 302 ) 303 303 304 sports_fee = schema.Float( 305 title = _(u'Sports Clearance Levy'), 306 default = 0.0, 307 required = True, 308 ) 309 310 siwes_fee = schema.Float( 311 title = _(u'SIWES Fee'), 312 default = 0.0, 313 required = True, 314 ) 315 316 eed_fee = schema.Float( 317 title = _(u'EED Fee'), 318 default = 0.0, 319 required = True, 320 ) 321 322 olevel_results_fee = schema.Float( 323 title = _(u'O\' Level Results Verification'), 324 default = 0.0, 325 required = True, 326 ) 327 304 328 def getSessionString(): 305 329 """Returns the session string from the vocabulary. -
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 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py
r14942 r15021 106 106 'ijmb_result':'IJMB Result', 107 107 'gown': 'Gown Hire Fee', 108 'sports': 'Sports Clearance Levy', 109 'siwes': 'SIWES Fee', 110 'eed': 'EED Fee', 111 'olevel_results': 'O\' Level Results Verification', 108 112 } 109 113 … … 152 156 #'nysc_id_card': 'NYSC ID Card', 153 157 #'ijmb_result':'IJMB Result', 158 'sports': 'Sports Clearance Levy', 159 'siwes': 'SIWES Fee', 160 'eed': 'EED Fee', 161 'olevel_results': 'O\' Level Results Verification', 154 162 } 155 163
Note: See TracChangeset for help on using the changeset viewer.