Changeset 1362 for WAeUP_SRP


Ignore:
Timestamp:
26 Jan 2007, 16:38:20 (18 years ago)
Author:
joachim
Message:

use form for submit

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  
    2121
    2222student_id = context.getStudentId()
    23 student = getattr(students,student_id) 
     23student = getattr(students,student_id) 
    2424
    2525sbrain = context.students_catalog(id=student_id)[0]
     
    5050p_id = "p%s" % order_id
    5151
     52#from Products.zdb import set_trace;set_trace()
    5253if student_id is None:
    5354    return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
     
    5758    info['action'] = "http://www.wemaonlinepayments.biz/payment.aspx"
    5859else:
    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) 
    6163
    6264
     
    102104for arg,field in payment_fields:
    103105    args[arg] = info[field]
     106info['args'] = args
     107return context.goto_wema_form(info=info)
    104108url = info['action'] + "?" + urlencode(args)
    105109request.RESPONSE.redirect(url)
  • WAeUP_SRP/trunk/skins/waeup_epayment/simulate_callback.py

    r1243 r1362  
    1212
    1313args = {}
    14 args['x_RespDesc'] = 'Approved Successful'
     14args['x_RespDesc'] = 'Simulated'
    1515args['x_RespPayRef'] = 'GTB|WEB|ISW|7-01-2007|000579'
    1616args['x_RespCode'] = '00'
  • WAeUP_SRP/trunk/skins/waeup_epayment/wema_form.pt

    r1257 r1362  
    33                tal:define="info options/info">
    44               
    5         <h3>Authorize Online Payment! </h3>
     5        <h3>Confirm Your Payment Data! </h3>
    66        <br />
    77               
     
    3636               class="standalone"
    3737               name="goto_bank"
    38                value="Start"
     38               value="Confirm"
    3939               />
    4040
Note: See TracChangeset for help on using the changeset viewer.