Changeset 14676


Ignore:
Timestamp:
15 Apr 2017, 05:45:43 (8 years ago)
Author:
Henrik Bettermann
Message:

Configure Late Registration Fee.

File:
1 edited

Legend:

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

    r14523 r14676  
    546546</payment_item_detail>""" % xmldict
    547547
     548        # Late Registration Fee
     549        elif self.context.p_category == 'late_registration':
     550            self.pay_item_id = '123'
     551            xmldict['institution_acct'] = '1010835352'
     552            xmldict['institution_bank_id'] = '117'
     553            xmldict['institution_amt'] = 100 * (
     554                gateway_net_amt(self.context.amount_auth))
     555            xmltext = """<payment_item_detail>
     556<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     557<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" />
     558</item_details>
     559</payment_item_detail>""" % xmldict
     560
    548561        self.xml_data = """<input type="hidden" name="xml_data" value='%s'  />""" % xmltext
    549562        self.context.provider_amt = provider_amt
Note: See TracChangeset for help on using the changeset viewer.