- Timestamp:
- 13 Aug 2018, 05:55:02 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/browser.py
r15101 r15105 80 80 if self.context.p_category == 'clearance': 81 81 provider_amt = 1500.0 82 83 82 # temporarily disabled 84 83 #if self.context.p_category in ('transcript', 'certificate'): 85 84 # provider_amt = 2000.0 86 87 85 # Institution data 88 86 xmldict['institution_acct'] = '0068241848' 89 87 xmldict['institution_bank_id'] = '121' 88 if self.context.p_category == 'union': 89 xmldict['institution_acct'] = '0066437412' 90 90 xmldict['institution_amt'] = '0.0' 91 91 self.pay_item_id = '101' # must be provided by Interswitch … … 96 96 self.context.amount_auth - provider_amt - GATEWAY_AMT) 97 97 # Interswitch amount is not part of the xml data 98 if not self.context.p_item == 'Balance' \ 99 and self.context.p_category == 'schoolfee': 100 xmldict['institution_amt'] -= 200000 101 xmltext = """<payment_item_detail> 102 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 103 <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" /> 104 <item_detail item_id="2" item_name="Student Union Dues" item_amt="200000" bank_id="121" acct_num="0066437412" /> 105 </item_details> 106 </payment_item_detail>""" % xmldict 107 elif provider_amt == 0: 98 if provider_amt == 0: 108 99 xmltext = """<payment_item_detail> 109 100 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
Note: See TracChangeset for help on using the changeset viewer.