Ignore:
Timestamp:
19 Nov 2012, 06:20:06 (12 years ago)
Author:
Henrik Bettermann
Message:

BT split amount is 1600 not 500.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py

    r9627 r9682  
    211211        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
    212212        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    213         xmldict['provider_amt'] = 100 * 500
     213        xmldict['provider_amt'] = 100 * 1600
    214214        # Institution data
    215215        xmldict['fceokene_acct'] = "0000000000000"
     
    235235            xmldict['fceokene_split'] = 100 * 1400
    236236            xmldict['institution_amt'] = 100 * (
    237                 self.context.amount_auth - 500 - 150 - 1400)
     237                self.context.amount_auth - 1600 - 150 - 1400)
    238238        elif 'maintenance' in self.context.p_category:
    239239            self.pay_item_id = '8300'
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

    r9628 r9682  
    8686            self.browser.contents)
    8787        self.assertMatches(
    88             '...item_name="School Fee" item_amt="1044500" bank_id="117" acct_num="6216801033"...',
     88            '...item_name="School Fee" item_amt="934800" bank_id="117" acct_num="6216801033"...',
    8989            self.browser.contents)
    9090        self.assertMatches(
     
    9292            self.browser.contents)
    9393        self.assertMatches(
    94             '...item_name="BT Education" item_amt="50000" bank_id="31" acct_num="0026781725"...',
     94            '...item_name="BT Education" item_amt="160000" bank_id="31" acct_num="0026781725"...',
    9595            self.browser.contents)
    9696
Note: See TracChangeset for help on using the changeset viewer.