Changeset 15098 for main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Timestamp:
- 3 Aug 2018, 09:54:29 (6 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r15076 r15098 310 310 xmldict['institution_bank_id'] = '00' 311 311 if self.applicant.__parent__.application_category in ('ndft', 'hndft'): 312 xmldict['institution_acct'] = ' 0010761873'313 xmldict['institution_bank_id'] = ' 11'312 xmldict['institution_acct'] = '5210039869' 313 xmldict['institution_bank_id'] = '51' 314 314 elif self.applicant.__parent__.application_category in ( 315 315 'ndpt', 'hndpt', 'ndwe', 'hndwe'): 316 xmldict['institution_acct'] = ' 5210039869'317 xmldict['institution_bank_id'] = ' 51'316 xmldict['institution_acct'] = '1015220292' 317 xmldict['institution_bank_id'] = '117' 318 318 elif self.applicant.applicant_id.startswith('special'): 319 319 if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
r15076 r15098 372 372 self.browser.getControl("Add online").click() 373 373 self.browser.getLink("CollegePAY", index=0).click() 374 self.assertTrue('<item_detail item_id="1" item_name="Application 1" item_amt="15000" bank_id=" 51" acct_num="5210039869" />'374 self.assertTrue('<item_detail item_id="1" item_name="Application 1" item_amt="15000" bank_id="117" acct_num="1015220292" />' 375 375 in self.browser.contents) 376 376 self.assertTrue('<item_detail item_id="2" item_name="Application 2" item_amt="10000" bank_id="123" acct_num="1002883141" />'
Note: See TracChangeset for help on using the changeset viewer.