Changeset 13382


Ignore:
Timestamp:
2 Nov 2015, 15:44:52 (9 years ago)
Author:
Henrik Bettermann
Message:

product_id must be sent in the POST request.

File:
1 edited

Legend:

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

    r13381 r13382  
    134134        student = self.student
    135135
     136        if school(student) == 'PT':
     137            self.product_id = PRODUCT_ID_PT
     138        else:
     139            self.product_id = PRODUCT_ID_REGULAR
     140
    136141        # To guarantee that cleared students pay both acceptance fee
    137142        # and school fees, the page can only be accessed
     
    168173        # PT
    169174        if school(student) == 'pt':
    170             product_id = PRODUCT_ID_PT
    171175            if self.context.p_category == 'schoolfee':
    172176                xmldict['institution_bank_id'] = '7'
     
    234238        # REGULAR
    235239        else:
    236             product_id = PRODUCT_ID_REGULAR
    237240            if self.context.p_category == 'schoolfee':
    238241                self.pay_item_id = '101'
     
    337340        hashargs = (
    338341            self.context.p_id +
    339             product_id +
     342            self.product_id +
    340343            self.pay_item_id +
    341344            str(int(self.amount_auth)) +
Note: See TracChangeset for help on using the changeset viewer.