- Timestamp:
- 12 Dec 2016, 12:02:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py
r14301 r14336 58 58 currency = CURRENCY 59 59 product_id = PRODUCT_ID 60 mac = ' '60 mac = '9309B5CBF1BFB09693C6F5F578046E3FCAB0A2538C3FE4221A6E63AFD348DE888E655F9C7E9F112151A702B6B09E6A7ACC5B3BF3C701F0C1B0D8EA6C1872AE94' 61 61 62 62 def update(self): … … 74 74 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 75 75 # Institution data 76 xmldict['institution_acct'] = '00000000' 77 xmldict['institution_bank_id'] = '00' 78 xmldict['institution_amt'] = '0.0' 79 provider_amt = 0.0 76 xmldict['institution_acct'] = '1019684470' 77 xmldict['institution_bank_id'] = '7' 78 provider_amt = 500.0 80 79 self.pay_item_id = '0000' 81 80 xmldict['provider_amt'] = 100 * provider_amt … … 84 83 xmldict['institution_amt'] = 100 * ( 85 84 self.context.amount_auth - provider_amt - GATEWAY_AMT) 85 if self.context.p_category == 'clearance': 86 self.pay_item_id = '102' 87 elif self.context.p_category == 'schoolfee': 88 self.pay_item_id = '103' 86 89 # Interswitch amount is not part of the xml data 87 90 if provider_amt == 0:
Note: See TracChangeset for help on using the changeset viewer.