Changeset 2957 for WAeUP_SRP/base/skins/waeup_epayment
- Timestamp:
- 18 Dec 2007, 10:12:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/interswitch_acco_cb.py
r2900 r2957 94 94 real_ip = request.get('HTTP_X_REAL_IP',"none") 95 95 logger.info('%s valid callback real_ip = %s' % (student_id,real_ip)) 96 try: 97 wftool.doActionFor(acco_info['acco'],'pay_maintenance_fee',dest_container=acco_info['acco']) 98 return request.RESPONSE.redirect("%s/accommodation_view" % acco_info['student'].absolute_url()) 99 except: 100 logger.info('%s no workflow action pay_maintenance_fee' % student_id) 101 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) 96 102 else: 97 103 logger.info('%s received unsuccessfull callback: %s' % (student_id,pd['resp_desc'])) 98 99 104 try: 100 105 wftool.doActionFor(context,'close') 101 106 except: 102 107 logger.info('%s no workflow action close' % student_id) 103 try: 104 wftool.doActionFor(acco_info['acco'],'pay_maintenance_fee',dest_container=acco_info['acco']) 105 return request.RESPONSE.redirect("%s/accommodation_view" % acco_info['student'].absolute_url()) 106 except: 107 logger.info('%s no workflow action pay_maintainance_fee' % student_id) 108 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) 108 109 109 110 110
Note: See TracChangeset for help on using the changeset viewer.