Changeset 8957


Ignore:
Timestamp:
9 Jul 2012, 11:18:24 (12 years ago)
Author:
Henrik Bettermann
Message:

Merged with waeup.uniben 8954:8955.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.futminna/trunk/src/waeup/futminna

  • main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py

    r8830 r8957  
    100100    payment.r_card_num = wlist[3]
    101101    payment.r_pay_reference = wlist[5]
     102    payment.r_company = u'interswitch'
    102103    if payment.r_code != '00':
    103104        msg = _('Unsuccessful callback: ${a}', mapping = {'a': sr})
     
    238239        xmldict['institution_acct'] = ''
    239240        xmldict['institution_bank_id'] = ''
    240         if student.current_mode.endswith('_ft'):
    241             #post-grad full-time students of all faculties
    242             if studycourse.current_level in ('700','710','800','810','900','910'):
    243                 xmldict['institution_acct'] = '1012842833'
    244                 xmldict['institution_bank_id'] = '117'
    245             #all other part-time students depending on faculty
    246             elif student.faccode in ('SSC','LAW','MED'):
    247                 xmldict['institution_acct'] = '0005986938'
    248                 xmldict['institution_bank_id'] = '31'
    249             elif student.faccode in ('ENG','PSC','PHA'):
    250                 xmldict['institution_acct'] = '0014413973'
    251                 xmldict['institution_bank_id'] = '129'
    252             elif student.faccode in ('LSC','DEN','AGR'):
    253                 xmldict['institution_acct'] = '1012801319'
    254                 xmldict['institution_bank_id'] = '117'
    255             elif student.faccode in ('ART','EDU','MGS','BMS'):
    256                 xmldict['institution_acct'] = '6220027556'
    257                 xmldict['institution_bank_id'] = '51'
    258         elif student.current_mode.endswith('_pt'):
    259             #post-grad part-time students of all faculties
    260             if studycourse.current_level in ('700','710','800','810','900','910'):
    261                 xmldict['institution_acct'] = '0023708207'
    262                 xmldict['institution_bank_id'] = '72'
    263             #all other part-time students depending on faculty
    264             elif student.faccode in ('ENG','LAW','MGS'):
    265                 xmldict['institution_acct'] = '2019006824'
    266                 xmldict['institution_bank_id'] = '8'
    267             elif student.faccode in ('IPA','PHA','SSC','AGR','EDU'):
    268                 xmldict['institution_acct'] = '0122012109'
    269                 xmldict['institution_bank_id'] = '16'
    270         xmldict['institution_amt'] = 100 * (self.amount_auth - provider_amt - 150)
     241        xmldict['institution_acct'] = '000000000000'
     242        xmldict['institution_bank_id'] = '00'
     243        xmldict['institution_amt'] = 100 * (self.context.amount_auth - provider_amt - 150)
    271244        xmldict['institution_item_name'] = self.context.p_category
    272245        xmldict['institution_name'] = INSTITUTION_NAME
Note: See TracChangeset for help on using the changeset viewer.