- Timestamp:
- 25 Apr 2012, 11:37:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py
r8274 r8276 228 228 student = self.student = self.context.getStudent() 229 229 certificate = getattr(self.student['studycourse'],'certificate',None) 230 self.amount_auth = 100 * self.context.amount_auth 230 231 xmldict = {} 231 232 if certificate is not None: … … 235 236 xmldict['department'] = None 236 237 xmldict['faculty'] = None 237 self.amount_special = 100 * (self.context.amount_auth - 150)238 238 self.category = payment_categories.getTermByToken( 239 239 self.context.p_category).title … … 285 285 xmldict['institution_acct'] = '0122012109' 286 286 xmldict['institution_bank_id'] = '16' 287 xmldict['institution_amt'] = self.amount_special - 100 * provider_amt287 xmldict['institution_amt'] = 100 * (self.amount_auth - provider_amt - 150) 288 288 xmldict['institution_item_name'] = self.context.p_category 289 289 xmldict['institution_name'] = INSTITUTION_NAME … … 320 320 return 321 321 self.applicant = self.context.__parent__ 322 self.amount_auth = 100 * self.context.amount_auth 322 323 xmldict = {} 323 324 self.category = payment_categories.getTermByToken( 324 325 self.context.p_category).title 325 # substract invisible Interswitch surcharge326 self.amount_special = 100 * (self.context.amount_auth - 150)327 326 self.local_date_time = str(self.context.creation_date) 328 327 self.site_redirect_url = self.url(self.context, 'request_webservice')
Note: See TracChangeset for help on using the changeset viewer.