Ignore:
Timestamp:
27 Oct 2016, 14:20:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Ad Stuent ID card payments.

File:
1 edited

Legend:

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

    r14232 r14234  
    409409</payment_item_detail>""" % xmldict
    410410
     411        # ID Card
     412        elif self.context.p_category == 'id_card':
     413            self.pay_item_id = '000'
     414            xmldict['institution_acct'] = '1010827641'
     415            xmldict['institution_bank_id'] = '117'
     416            xmldict['institution_amt'] = 100 * (
     417                gateway_net_amt(self.context.amount_auth))
     418            xmltext = """<payment_item_detail>
     419<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     420<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" />
     421</item_details>
     422</payment_item_detail>""" % xmldict
     423
    411424        # Matric Gown
    412425        elif self.context.p_category == 'matric_gown':
Note: See TracChangeset for help on using the changeset viewer.