Changeset 15098 for main


Ignore:
Timestamp:
3 Aug 2018, 09:54:29 (6 years ago)
Author:
Henrik Bettermann
Message:

Change bank account.

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  
    310310        xmldict['institution_bank_id'] = '00'
    311311        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'
    314314        elif self.applicant.__parent__.application_category in (
    315315            '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'
    318318        elif self.applicant.applicant_id.startswith('special'):
    319319            if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys():
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py

    r15076 r15098  
    372372        self.browser.getControl("Add online").click()
    373373        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" />'
    375375            in self.browser.contents)
    376376        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.