Last change
on this file since 1240 was
1235,
checked in by joachim, 18 years ago
|
use simulte_callback dependent on portal_url
|
-
Property svn:keywords set to
Id
|
File size:
618 bytes
|
Line | |
---|
1 | ##parameters=REQUEST,matric_no=None |
---|
2 | # $Id: simulate_callback.py 1235 2007-01-08 09:51:33Z joachim $ |
---|
3 | """ |
---|
4 | process the Application Form |
---|
5 | return html renderer + psm |
---|
6 | """ |
---|
7 | import DateTime,logging |
---|
8 | current = DateTime.DateTime() |
---|
9 | pr = context.portal_registration |
---|
10 | logger = logging.getLogger('Returning') |
---|
11 | validate = REQUEST.has_key("cpsdocument_edit_button") |
---|
12 | |
---|
13 | args = {} |
---|
14 | args['x_RespDesc'] = 'Approved Successful' |
---|
15 | args['x_RespPayRef'] = 'GTB|WEB|ISW|7-01-2007|000579' |
---|
16 | args['x_RespCode'] = '00' |
---|
17 | args['x_CardNum'] = '0114' |
---|
18 | args['x_ApprAmt'] = '75000.00' |
---|
19 | |
---|
20 | from urllib import urlencode |
---|
21 | url = "%s/epayment_cb/?%s" % (context.absolute_url(),urlencode(args)) |
---|
22 | return REQUEST.RESPONSE.redirect(url) |
---|
Note: See
TracBrowser for help on using the repository browser.