Ignore:
Timestamp:
9 Jul 2012, 10:56:54 (12 years ago)
Author:
Henrik Bettermann
Message:

Calculate institution_amt correctly. Set r_company.

File:
1 edited

Legend:

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

    r8829 r8955  
    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})
     
    268269                xmldict['institution_acct'] = '0122012109'
    269270                xmldict['institution_bank_id'] = '16'
    270         xmldict['institution_amt'] = 100 * (self.amount_auth - provider_amt - 150)
     271        xmldict['institution_amt'] = 100 * (self.context.amount_auth - provider_amt - 150)
    271272        xmldict['institution_item_name'] = self.context.p_category
    272273        xmldict['institution_name'] = INSTITUTION_NAME
Note: See TracChangeset for help on using the changeset viewer.