Changeset 1362 for WAeUP_SRP/trunk/skins
- Timestamp:
- 26 Jan 2007, 16:38:20 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_online.py
r1355 r1362 21 21 22 22 student_id = context.getStudentId() 23 student = getattr(students,student_id) 23 student = getattr(students,student_id) 24 24 25 25 sbrain = context.students_catalog(id=student_id)[0] … … 50 50 p_id = "p%s" % order_id 51 51 52 #from Products.zdb import set_trace;set_trace() 52 53 if student_id is None: 53 54 return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) … … 57 58 info['action'] = "http://www.wemaonlinepayments.biz/payment.aspx" 58 59 else: 59 return None 60 #info['action'] = "%s/payments/%s/simulate_callback" % (student.absolute_url(),p_id) 60 #pass 61 #return None 62 info['action'] = "%s/payments/%s/simulate_callback" % (student.absolute_url(),p_id) 61 63 62 64 … … 102 104 for arg,field in payment_fields: 103 105 args[arg] = info[field] 106 info['args'] = args 107 return context.goto_wema_form(info=info) 104 108 url = info['action'] + "?" + urlencode(args) 105 109 request.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_epayment/simulate_callback.py
r1243 r1362 12 12 13 13 args = {} 14 args['x_RespDesc'] = ' Approved Successful'14 args['x_RespDesc'] = 'Simulated' 15 15 args['x_RespPayRef'] = 'GTB|WEB|ISW|7-01-2007|000579' 16 16 args['x_RespCode'] = '00' -
WAeUP_SRP/trunk/skins/waeup_epayment/wema_form.pt
r1257 r1362 3 3 tal:define="info options/info"> 4 4 5 <h3> Authorize Online Payment! </h3>5 <h3>Confirm Your Payment Data! </h3> 6 6 <br /> 7 7 … … 36 36 class="standalone" 37 37 name="goto_bank" 38 value=" Start"38 value="Confirm" 39 39 /> 40 40
Note: See TracChangeset for help on using the changeset viewer.