Changeset 16869
- Timestamp:
- 8 Mar 2022, 21:09:38 (3 years ago)
- 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 83 83 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 84 84 # Institution data 85 xmldict['institution_acct'] = ' 1216063205'86 xmldict['institution_bank_id'] = ' 117'85 xmldict['institution_acct'] = '000000000' 86 xmldict['institution_bank_id'] = '000' 87 87 provider_amt = 0.0 88 88 tech_fee = 0.0 89 89 if self.context.p_category == 'clearance': 90 90 provider_amt = 500.0 91 xmldict['institution_acct'] = '1216063205' 92 xmldict['institution_bank_id'] = '117' 91 93 if self.context.p_category == 'schoolfee': 92 94 provider_amt = 2800.0 93 95 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' 94 101 self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch 95 102 # Already now it becomes an Interswitch payment. We set the net amount -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py
r16849 r16869 81 81 self.browser.contents) 82 82 self.assertTrue( 83 'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1 216063205"' in83 'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1011739172"' in 84 84 self.browser.contents) 85 85
Note: See TracChangeset for help on using the changeset viewer.