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

Last change on this file since 1362 was 1362, checked in by joachim, 18 years ago

use form for submit

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