source: WAeUP_SRP/trunk/skins/waeup_epayment/simulate_callback.py @ 1568

Last change on this file since 1568 was 1568, checked in by Henrik Bettermann, 18 years ago

new logging format Part 3

  • Property svn:keywords set to Id
File size: 618 bytes
Line 
1##parameters=REQUEST,matric_no=None
2# $Id: simulate_callback.py 1568 2007-03-17 08:37:51Z henrik $
3"""
4process the Application Form
5return html renderer + psm
6"""
7import DateTime
8current = DateTime.DateTime()
9pr = context.portal_registration
10validate = REQUEST.has_key("cpsdocument_edit_button")
11
12args = {}
13args['x_RespDesc'] = 'Simulated Callback'
14args['x_RespPayRef'] = 'GTB|WEB|ISW|1-01-2000|000234'
15args['x_RespCode'] = 'XX'
16args['x_CardNum'] = '0000'
17args['x_ApprAmt'] = REQUEST.get('x_amt')
18
19from urllib import urlencode
20#url = "%s/epayment_cb/?%s" % (context.absolute_url(),urlencode(args))
21url = "%s" % (context.absolute_url())
22return REQUEST.RESPONSE.redirect(url)
Note: See TracBrowser for help on using the repository browser.