Changeset 1620 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 22 Mar 2007, 20:52:27 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/requery_payment.py
r1613 r1620 10 10 # $Id$ 11 11 """ 12 pay online 12 requery online-payment 13 13 """ 14 14 from urllib import urlencode 15 15 import logging 16 logger = logging.getLogger('Skins. pay_online')16 logger = logging.getLogger('Skins.requery_payment') 17 17 import DateTime 18 18 … … 45 45 46 46 47 info['callback_url'] = "%s/payments/%s/epayment_requery_cb" % (student.absolute_url(),p_id)48 47 payment = context 49 48 if payment.portal_type != 'Payment': … … 51 50 payment_doc = payment.getContent() 52 51 #from Products.zdb import set_trace;set_trace() 53 info['order_id'] = payment_doc.order_id 52 info['order_id'] = p_id = payment_doc.order_id 53 info['callback_url'] = "%s/payments/%s/epayment_requery_cb" % (student.absolute_url(),p_id) 54 54 info['type_description'] = payment_doc.type_description 55 info['pay_bill_to'] = payment_doc.pay_bill_to56 55 info['amount'] = payment_doc.amount 56 info['student_id'] = student_id 57 57 logger.info('%(student_id)s requeried online school fee payment for order_id %(order_id)s' % info) 58 58 payment_fields = (('x_SiteID','site_id'), -
WAeUP_SRP/trunk/skins/waeup_epayment/requery_payment_form.pt
r1613 r1620 3 3 tal:define="info options/info"> 4 4 5 <h3> AuthorizeOnline Payment! </h3>5 <h3>Requery Online Payment! </h3> 6 6 <br /> 7 7 … … 12 12 <input type="hidden" tal:attributes="name python:arg[0];value python:arg[1]" /> 13 13 </span> 14 <div>Requery this payment</div>15 14 <table> 16 15 <tr> … … 18 17 Payment:</td> 19 18 <td tal:content="info/type_description"></td> 20 </tr>21 <tr>22 <td>23 Name:24 </td>25 <td tal:content="info/pay_bill_to" />26 19 </tr> 27 20 <tr>
Note: See TracChangeset for help on using the changeset viewer.