Changeset 12661 for main/waeup.fceokene


Ignore:
Timestamp:
3 Mar 2015, 11:54:41 (10 years ago)
Author:
Henrik Bettermann
Message:

Change account numbers.

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

    r11919 r12661  
    8181            self.pay_item_id = '8302'
    8282            if student.current_mode in ('nce_sw','prence',):
    83                 xmldict['institution_acct'] = "1012044194"
     83                xmldict['institution_acct'] = "1013780934"
    8484                xmldict['institution_bank_id'] = '117'
    8585            elif student.current_mode in ('nce_ft',) and \
    8686                student['studycourse'].current_verdict == 'O':
    87                 xmldict['institution_acct'] = "1012044015"
     87                xmldict['institution_acct'] = "1013780934"
    8888                xmldict['institution_bank_id'] = '117'
    8989            elif student.current_mode in ('nce_ft',):
    90                 xmldict['institution_acct'] = "1012044015"
     90                xmldict['institution_acct'] = "1013780934"
    9191                xmldict['institution_bank_id'] = '117'
    9292            elif student.current_mode in ('pd_ft',):
    93                 xmldict['institution_acct'] = "1012415659"
     93                xmldict['institution_acct'] = "1013780934"
    9494                xmldict['institution_bank_id'] = '117'
    9595            #undergraduate schoolfee added
     
    107107            xmldict['institution_amt'] = 100 * (
    108108                self.context.amount_auth - GATEWAY_AMT)
    109             xmldict['institution_acct'] = "1012044132"
     109            xmldict['institution_acct'] = "1013780934"
    110110            xmldict['institution_bank_id'] = '117'
    111111        elif self.context.p_category == 'clearance':
     
    123123<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
    124124<item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
    125 <item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)d" bank_id="117" acct_num="1012044039" />
     125<item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)d" bank_id="117" acct_num="1013780934" />
    126126<item_detail item_id="3" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
    127127</item_details>
     
    168168            xmldict['institution_bank_id'] = '8'
    169169        else:
    170             xmldict['institution_acct'] = '1012445289'
     170            xmldict['institution_acct'] = '1013780934'
    171171            xmldict['institution_bank_id'] = '117'
    172172        xmldict['institution_amt'] = 100 * (self.context.amount_auth -
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

    r12628 r12661  
    9797            in self.browser.contents)
    9898        self.assertTrue(
    99             'item_name="School Fee" item_amt="1182500" bank_id="117" acct_num="1012044015"'
    100             in self.browser.contents)
    101         self.assertTrue(
    102             'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1012044039"'
     99            'item_name="School Fee" item_amt="1182500" bank_id="117" acct_num="1013780934"'
     100            in self.browser.contents)
     101        self.assertTrue(
     102            'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1013780934"'
    103103            in self.browser.contents)
    104104        self.assertTrue(
     
    121121            in self.browser.contents)
    122122        self.assertTrue(
    123             'item_name="NCE Third Semester Fee" item_amt="476300" bank_id="117" acct_num="1012044015"'
    124             in self.browser.contents)
    125         self.assertTrue(
    126             'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1012044039"'
     123            'item_name="NCE Third Semester Fee" item_amt="476300" bank_id="117" acct_num="1013780934"'
     124            in self.browser.contents)
     125        self.assertTrue(
     126            'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1013780934"'
    127127            in self.browser.contents)
    128128        self.assertTrue(
     
    189189            in self.browser.contents)
    190190        self.assertTrue(
    191             'item_name="Hostel Maintenance Fee" item_amt="400000" bank_id="117" acct_num="1012044132"'
     191            'item_name="Hostel Maintenance Fee" item_amt="400000" bank_id="117" acct_num="1013780934"'
    192192            in self.browser.contents)
    193193        # BT does nor charge a fee for maintenance fee
     
    374374        self.assertTrue(
    375375            '<item_detail item_id="1" item_name="application"'
    376             ' item_amt="35000" bank_id="117" acct_num="1012445289" />'
     376            ' item_amt="35000" bank_id="117" acct_num="1013780934" />'
    377377            in self.browser.contents)
    378378
Note: See TracChangeset for help on using the changeset viewer.