Changeset 1571 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 17 Mar 2007, 15:25:56 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_online.py
r1568 r1571 91 91 info['callback_url'] = "%s/payments/%s/epayment_cb" % (student.absolute_url(),p_id) 92 92 93 logger.info('%(student_id)s initiated online school fee payment , %(type_description)s %(amount)s N' % info)93 logger.info('%(student_id)s initiated online school fee payment' % info) 94 94 payment_fields = (('x_SiteID','site_id'), 95 95 ('x_Redirect_url','callback_url'), -
WAeUP_SRP/trunk/skins/waeup_epayment/simulate_callback.py
r1568 r1571 10 10 validate = REQUEST.has_key("cpsdocument_edit_button") 11 11 12 import logging 13 logger = logging.getLogger('Skins.simulate_callback') 14 12 15 args = {} 13 16 args['x_RespDesc'] = 'Simulated Callback' … … 17 20 args['x_ApprAmt'] = REQUEST.get('x_amt') 18 21 22 23 student_id = context.getStudentId() 24 logger.info('%s received simulated callback' % student_id) 25 19 26 from urllib import urlencode 20 27 #url = "%s/epayment_cb/?%s" % (context.absolute_url(),urlencode(args))
Note: See TracChangeset for help on using the changeset viewer.