Ignore:
Timestamp:
19 Sep 2014, 16:00:43 (10 years ago)
Author:
Henrik Bettermann
Message:

Revert back to the old sharing ratios.

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

Legend:

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

    r11795 r11797  
    249249            self.pay_item_id = '104'
    250250            # Until 14/9/2014 we have not sent split amount data for pre applications.
    251             # To compenstate the loss we temporarily double the split amounts.
    252             # See ticket 75.
    253             provider_amt = 600.0
    254             dalash_amt = 400.0
     251            # To compenstate the loss we temporarily doubled the split amounts
     252            # until 20/9/2014, see ticket 75.
     253            #provider_amt = 600.0
     254            #dalash_amt = 400.0
    255255        elif self.applicant.applicant_id.startswith('pre'):
    256256            # changed for prejambites from FBN '2013910271' to GTBank '0106259811'
     
    258258            xmldict['institution_bank_id'] = '10'
    259259            # Until 14/9/2014 we have not sent split amount data for pre applications.
    260             # To compenstate the loss we temporarily double the split amounts.
    261             # See ticket 75.
    262             provider_amt = 600.0
    263             dalash_amt = 400.0
     260            # To compenstate the loss we temporarily doubled the split amounts
     261            # until 20/9/2014, see ticket 75.
     262            #provider_amt = 600.0
     263            #dalash_amt = 400.0
    264264        elif self.applicant.applicant_id.startswith('special'):
    265265            if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys():
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r11796 r11797  
    563563        self.assertTrue(
    564564            '<item_detail item_id="1" item_name="Application Fee" '
    565             'item_amt="203300" bank_id="10" acct_num="0106259811" />'
     565            'item_amt="253300" bank_id="10" acct_num="0106259811" />'
    566566            in self.browser.contents)
    567567        # No 'commission', no provider fee in 2013
     
    570570        # Comission is charged from 14/09/2014
    571571        self.assertTrue(
    572             '<item_detail item_id="2" item_name="Dalash" item_amt="40000" '
     572            '<item_detail item_id="2" item_name="Dalash" item_amt="20000" '
    573573            'bank_id="117" acct_num="1013196791" />'
    574574            in self.browser.contents)
    575575        self.assertTrue(
    576576            '<item_detail item_id="3" item_name="BT Education" '
    577             'item_amt="60000" bank_id="117" acct_num="1010764827" />'
     577            'item_amt="30000" bank_id="117" acct_num="1010764827" />'
    578578            in self.browser.contents)
    579579
     
    587587        self.assertTrue(
    588588            '<item_detail item_id="1" item_name="Application Fee" '
    589             'item_amt="203300" bank_id="8" acct_num="2013910271" />'
     589            'item_amt="253300" bank_id="8" acct_num="2013910271" />'
    590590            in self.browser.contents)
    591591        # No 'commission', no provider fee in 2013
     
    594594        # Comission is charged from 14/09/2014
    595595        self.assertTrue(
    596             '<item_detail item_id="2" item_name="Dalash" item_amt="40000" '
     596            '<item_detail item_id="2" item_name="Dalash" item_amt="20000" '
    597597            'bank_id="117" acct_num="1013196791" />'
    598598            in self.browser.contents)
    599599        self.assertTrue(
    600600            '<item_detail item_id="3" item_name="BT Education" '
    601             'item_amt="60000" bank_id="117" acct_num="1010764827" />'
     601            'item_amt="30000" bank_id="117" acct_num="1010764827" />'
    602602            in self.browser.contents)
    603603        self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.