Changeset 16869


Ignore:
Timestamp:
8 Mar 2022, 21:09:38 (3 years ago)
Author:
Henrik Bettermann
Message:

Change bank accounts.

Location:
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r16851 r16869  
    8383        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    8484        # Institution data
    85         xmldict['institution_acct'] = '1216063205'
    86         xmldict['institution_bank_id'] = '117'
     85        xmldict['institution_acct'] = '000000000'
     86        xmldict['institution_bank_id'] = '000'
    8787        provider_amt = 0.0
    8888        tech_fee = 0.0
    8989        if self.context.p_category == 'clearance':
    9090            provider_amt = 500.0
     91            xmldict['institution_acct'] = '1216063205'
     92            xmldict['institution_bank_id'] = '117'
    9193        if self.context.p_category == 'schoolfee':
    9294            provider_amt = 2800.0
    9395            tech_fee = 1200.0
     96            xmldict['institution_acct'] = '1011739172'
     97            xmldict['institution_bank_id'] = '117'
     98        if self.context.p_category == 'bed_allocation':
     99            xmldict['institution_acct'] = '1012551384'
     100            xmldict['institution_bank_id'] = '117'
    94101        self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch
    95102        # Already now it becomes an Interswitch payment. We set the net amount
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py

    r16849 r16869  
    8181            self.browser.contents)
    8282        self.assertTrue(
    83             'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1216063205"' in
     83            'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1011739172"' in
    8484            self.browser.contents)
    8585
Note: See TracChangeset for help on using the changeset viewer.