Changeset 14258 for main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Timestamp:
- 5 Nov 2016, 04:33:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r14248 r14258 472 472 </payment_item_detail>""" % xmldict 473 473 474 # GST Fees 475 elif self.context.p_category.startswith('gst_'): 476 self.pay_item_id = '116' 477 xmldict['institution_acct'] = '1010893123' 478 xmldict['institution_bank_id'] = '117' 479 xmldict['institution_amt'] = 100 * ( 480 gateway_net_amt(self.context.amount_auth)) 481 xmltext = """<payment_item_detail> 482 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 483 <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" /> 484 </item_details> 485 </payment_item_detail>""" % xmldict 486 487 # ENT Fees 488 elif self.context.p_category.startswith('ent_'): 489 self.pay_item_id = '118' 490 xmldict['institution_acct'] = '6220029828' 491 xmldict['institution_bank_id'] = '51' 492 xmldict['institution_amt'] = 100 * ( 493 gateway_net_amt(self.context.amount_auth)) 494 xmltext = """<payment_item_detail> 495 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 496 <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" /> 497 </item_details> 498 </payment_item_detail>""" % xmldict 499 500 # Faculty and Departmental Dues 501 elif self.context.p_category == 'fac_dep': 502 self.pay_item_id = '117' 503 xmldict['institution_acct'] = '1010827641' 504 xmldict['institution_bank_id'] = '117' 505 xmldict['institution_amt'] = 100 * ( 506 gateway_net_amt(self.context.amount_auth)) 507 xmltext = """<payment_item_detail> 508 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 509 <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" /> 510 </item_details> 511 </payment_item_detail>""" % xmldict 512 474 513 self.xml_data = """<input type="hidden" name="xml_data" value='%s' />""" % xmltext 475 514 self.context.provider_amt = provider_amt
Note: See TracChangeset for help on using the changeset viewer.