Ignore:
Timestamp:
27 Mar 2017, 10:39:43 (8 years ago)
Author:
Henrik Bettermann
Message:

Decrease Interswitch surcharge.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
Files:
4 edited

Legend:

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

    r14640 r14658  
    3737INSTITUTION_NAME = 'COE Warri'
    3838CURRENCY = '566'
    39 GATEWAY_AMT = 300.0
     39GATEWAY_AMT = 250.0
    4040MAC = '9309B5CBF1BFB09693C6F5F578046E3FCAB0A2538C3FE4221A6E63AFD348DE888E655F9C7E9F112151A702B6B09E6A7ACC5B3BF3C701F0C1B0D8EA6C1872AE94'
    4141
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/tests.py

    r14344 r14658  
    6868                           self.browser.contents)
    6969        self.assertMatches(
    70             '...<span>79500.0</span>...',
     70            '...<span>79450.0</span>...',
    7171            self.browser.contents)
    7272        self.payment_url = self.browser.url
     
    7878        self.assertEqual(self.student.current_mode, 'ug_ft')
    7979        self.assertMatches(
    80             '...<input type="hidden" name="amount" value="7950000" />...',
    81             self.browser.contents)
    82         self.assertMatches(
    83             '...item_name="School Fee (total)" item_amt="7950000" bank_id="7" acct_num="1019684470"...',
     80            '...<input type="hidden" name="amount" value="7945000" />...',
     81            self.browser.contents)
     82        self.assertMatches(
     83            '...item_name="School Fee (total)" item_amt="7945000" bank_id="7" acct_num="1019684470"...',
    8484            self.browser.contents)
    8585
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_browser.py

    r14344 r14658  
    7373        self.assertEqual(self.student['payments'].values()[0].p_category, 'schoolfee_1')
    7474        self.assertEqual(self.student['payments'].values()[1].p_category, 'schoolfee_2')
    75         # 79200 / 2 + 300
    76         self.assertEqual(self.student['payments'].values()[0].amount_auth, 39900.0)
    77         self.assertEqual(self.student['payments'].values()[1].amount_auth, 39900.0)
     75        # 79200 / 2 + 250
     76        self.assertEqual(self.student['payments'].values()[0].amount_auth, 39850.0)
     77        self.assertEqual(self.student['payments'].values()[1].amount_auth, 39850.0)
    7878        # The  two payments belong to the same session and level.
    7979        self.assertEqual(self.student['payments'].values()[0].p_session, 2004)
     
    103103        self.assertEqual(self.student.current_level, 200)
    104104        self.assertEqual(self.student.current_session, 2005)
    105         # 63100 / 2 + 300
    106         self.assertEqual(self.student['payments'].values()[2].amount_auth, 31850.0)
    107         self.assertEqual(self.student['payments'].values()[3].amount_auth, 31850.0)
     105        # 63100 / 2 + 250
     106        self.assertEqual(self.student['payments'].values()[2].amount_auth, 31800.0)
     107        self.assertEqual(self.student['payments'].values()[3].amount_auth, 31800.0)
    108108        # The last two payments belong to the same session and level.
    109109        self.assertEqual(self.student['payments'].values()[2].p_session, 2005)
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_utils.py

    r14639 r14658  
    3131        self.assertEqual(payment.p_level, 100)
    3232        self.assertEqual(payment.p_session, 2016)
    33         self.assertEqual(payment.amount_auth, 79500.0)
     33        self.assertEqual(payment.amount_auth, 79450.0)
    3434        self.assertEqual(payment.p_item, u'CERT1')
    3535        self.assertEqual(error, None)
     
    3838        self.assertEqual(payment.p_level, 100)
    3939        self.assertEqual(payment.p_session, 2016)
    40         self.assertEqual(payment.amount_auth, 39900.0)
     40        self.assertEqual(payment.amount_auth, 39850.0)
    4141        self.assertEqual(payment.p_item, u'CERT1')
    4242        self.assertEqual(error, None)
     
    4545        self.assertEqual(payment.p_level, 100)
    4646        self.assertEqual(payment.p_session, 2016)
    47         self.assertEqual(payment.amount_auth, 39900.0)
     47        self.assertEqual(payment.amount_auth, 39850.0)
    4848        self.assertEqual(payment.p_item, u'CERT1')
    4949        self.assertEqual(error, None)
     
    5555        self.student.lga = 'delta_burutu'
    5656        error, payment = utils.setPaymentDetails('schoolfee',self.student)
    57         self.assertEqual(payment.amount_auth, 69500.0)
     57        self.assertEqual(payment.amount_auth, 69450.0)
    5858        error, payment = utils.setPaymentDetails('clearance',self.student)
    5959        self.assertEqual(payment.amount_auth, 20300.0)
Note: See TracChangeset for help on using the changeset viewer.