Changeset 3875 for WAeUP_SRP/trunk
- Timestamp:
- 26 Jan 2009, 09:50:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/interswitch_cb.py
r3874 r3875 46 46 logger.info('%s, callback referer = %s, IP = %s' % (student_id,referer,real_ip)) 47 47 48 if referer == "":49 logger.info('%s, no callback referrer, callback rejected, IP = %s' % (student_id,real_ip))48 if not 'webpay.interswitchng.com' in referer and not 'waeup.org' in referer: 49 logger.info('%s, wrong callback referrer %s, callback rejected, IP = %s' % (student_id,referer,real_ip)) 50 50 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) 51 51 … … 85 85 pay_doc = context.getContent() 86 86 pay_doc.edit(mapping = pd) 87 resp = pd['resp_code'] 87 resp = pd['resp_code'] 88 88 89 89 s_brain = context.students_catalog(id=student_id)[0]
Note: See TracChangeset for help on using the changeset viewer.