Changeset 9630 for main/waeup.futminna


Ignore:
Timestamp:
13 Nov 2012, 13:03:01 (12 years ago)
Author:
Henrik Bettermann
Message:

Change bank account numbers.

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

Legend:

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

    r9624 r9630  
    3434PRODUCT_ID = '117'
    3535SITE_NAME = 'futminna-kofa.waeup.org'
    36 PROVIDER_ACCT = '0061001000021095'
    37 PROVIDER_BANK_ID = '89'
     36PROVIDER_ACCT = '0026781725'
     37PROVIDER_BANK_ID = '31'
    3838PROVIDER_ITEM_NAME = 'BT Education'
    3939INSTITUTION_NAME = 'FUTMinna'
     
    180180            xmldict['department'] = None
    181181            xmldict['faculty'] = None
    182         self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category]
     182        self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[
     183            self.context.p_category]
    183184        tz = getUtility(IKofaUtils).tzinfo
    184185        self.local_date_time = to_timezone(
     
    193194        xmldict['provider_amt'] = 100 * provider_amt
    194195
    195         # Institution data
     196        # Institution data. Account numbers were changed to the new
     197        # NUBAN 10 digit number system
    196198        xmldict['institution_acct'] = ''
    197199        xmldict['institution_bank_id'] = ''
     
    231233                xmldict['institution_bank_id'] = '00'
    232234            elif self.context.student.current_mode == 'pg_ft':
    233                 xmldict['institution_acct'] = "2522040000134"
     235                xmldict['institution_acct'] = "2005910931"
    234236                xmldict['institution_bank_id'] = '8'
    235237            elif self.context.student.state == CLEARED and \
    236238                self.context.student.current_level == 100:
    237                 xmldict['institution_acct'] = "0030001000017110"
    238                 xmldict['institution_bank_id'] = '89'
     239                xmldict['institution_acct'] = "0021030851"
     240                xmldict['institution_bank_id'] = '31'
    239241            elif self.context.student.state == CLEARED and \
    240242                self.context.student.current_level == 200:
    241                 xmldict['institution_acct'] = "0591201005146"
    242                 xmldict['institution_bank_id'] = '101'
     243                xmldict['institution_acct'] = "0005646299"
     244                xmldict['institution_bank_id'] = '47'
    243245            elif self.context.student.state == CLEARED and \
    244246                self.context.student.current_level == 300:
    245                 xmldict['institution_acct'] = "6013803345"
     247                xmldict['institution_acct'] = "1010500151"
    246248                xmldict['institution_bank_id'] = '117'
    247249            elif self.context.student.state == RETURNING and \
    248250                self.context.student.current_level in (100,110):
    249                 xmldict['institution_acct'] = "0591201005146"
    250                 xmldict['institution_bank_id'] = '101'
     251                xmldict['institution_acct'] = "0005646299"
     252                xmldict['institution_bank_id'] = '47'
    251253            elif self.context.student.current_level in (200,210):
    252                 xmldict['institution_acct'] = "6013803345"
     254                xmldict['institution_acct'] = "1010500151"
    253255                xmldict['institution_bank_id'] = '117'
    254256            elif self.context.student.current_level in (300,310):
    255                 xmldict['institution_acct'] = "2522040000134"
     257                xmldict['institution_acct'] = "2005910931"
    256258                xmldict['institution_bank_id'] = '8'
    257             #Change of acct from UBA to GTBank
    258259            elif self.context.student.current_level in (400,410,500,510,600):
    259                 xmldict['institution_acct'] = "3713516838111"
     260                xmldict['institution_acct'] = "0027490487"
    260261                xmldict['institution_bank_id'] = '10'
    261262
  • main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py

    r9432 r9630  
    7575            self.browser.contents)
    7676        self.assertMatches(
    77             '...item_name="School Fee" item_amt="12970000" bank_id="89" acct_num="0030001000017110"...',
     77            '...item_name="School Fee" item_amt="12970000" bank_id="31" acct_num="0021030851"...',
    7878            self.browser.contents)
    7979        self.assertMatches(
    80             '...item_name="BT Education" item_amt="150000" bank_id="89" acct_num="0061001000021095"...',
     80            '...item_name="BT Education" item_amt="150000" bank_id="31" acct_num="0026781725"...',
    8181            self.browser.contents)
    8282
Note: See TracChangeset for help on using the changeset viewer.