Ignore:
Timestamp:
22 Oct 2012, 16:29:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Set pay_item_id according to payment category. Extend test.

File:
1 edited

Legend:

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

    r9385 r9389  
    198198    site_name = SITE_NAME
    199199    currency = CURRENCY
    200     pay_item_id = '5700'
    201200    product_id = PRODUCT_ID
    202201
     
    241240            #studycourse = student['studycourse']
    242241            if student.current_mode.endswith('_ft'):
     242                self.pay_item_id = '5700'
    243243                #post-grad full-time students of all faculties
    244244                if student.is_postgrad:
     
    259259                    xmldict['institution_bank_id'] = '51'
    260260            elif student.current_mode.endswith('_pt'):
     261                self.pay_item_id = '5701'
    261262                #post-grad part-time students of all faculties
    262263                if student.is_postgrad:
     
    271272                    xmldict['institution_bank_id'] = '16'
    272273        elif self.context.p_category == 'clearance':
     274            self.pay_item_id = '5702'
    273275            provider_amt = 1500
    274276            xmldict['institution_bank_id'] = '7'
Note: See TracChangeset for help on using the changeset viewer.