Changeset 15761 for main/waeup.aaue/trunk/src
- Timestamp:
- 6 Nov 2019, 16:59:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15746 r15761 106 106 self.redirect(self.url(self.context, '@@index')) 107 107 return 108 self.context.r_company = u'interswitch' 108 109 provider_amt = 2000.0 109 110 fedex_amt = 0.0 … … 128 129 self.institution_acct = '5210006575' 129 130 self.institution_bank_id = '51' 130 if self.applicant.applicant_id[:6] in ('trans1', 'trans6'):131 fedex_amt = 10500.0131 #if self.applicant.applicant_id[:6] in ('trans1', 'trans6'): 132 # fedex_amt = 10500.0 132 133 if self.context.p_category == 'app_balance': 133 134 provider_amt = 0.0 … … 169 170 170 171 if fedex_amt: 171 172 173 174 172 xmltext = """<payment_item_detail> 175 173 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s"> … … 208 206 ) 209 207 self.context.p_split_data = xmlitems 208 self.amount_auth = int(100 * self.context.amount_auth) 210 209 hashargs = ( 211 210 self.context.p_id + … … 231 230 def update(self): 232 231 error = self.init_update() 233 234 232 if error: 235 233 self.flash(error, type='danger') 236 234 self.redirect(self.url(self.context, '@@index')) 237 235 return 238 236 self.context.r_company = u'interswitch' 239 237 student = self.student 240 238 p_session = self.context.p_session … … 649 647 self.xml_data = """<input type="hidden" name="xml_data" value='%s' />""" % xmltext 650 648 self.context.provider_amt = provider_amt 651 self.context.gateway_amt = self. amount_auth - gateway_net_amt(652 self. amount_auth)649 self.context.gateway_amt = self.context.amount_auth - gateway_net_amt( 650 self.context.amount_auth) 653 651 xmlitems = '' 654 652 xmldoc = minidom.parseString(xmltext) … … 663 661 ) 664 662 self.context.p_split_data = xmlitems 663 self.amount_auth = int(100 * self.context.amount_auth) 665 664 hashargs = ( 666 665 self.context.p_id +
Note: See TracChangeset for help on using the changeset viewer.