Ignore:
Timestamp:
22 Mar 2007, 20:52:27 (18 years ago)
Author:
joachim
Message:

created new catalog online_payment_transactions
importOnlinePaymentTransactions in WAeUPTool
there must be a OnlineTransactions?.csv in import
check_transactions checks online_payment_transactions against payments
check_online_payments checks the online_payments against the online_payment_transactions

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  
    1010# $Id$
    1111"""
    12 pay online
     12requery online-payment
    1313"""
    1414from urllib import urlencode
    1515import logging
    16 logger = logging.getLogger('Skins.pay_online')
     16logger = logging.getLogger('Skins.requery_payment')
    1717import DateTime
    1818
     
    4545
    4646
    47 info['callback_url'] = "%s/payments/%s/epayment_requery_cb" % (student.absolute_url(),p_id)
    4847payment = context
    4948if payment.portal_type != 'Payment':
     
    5150payment_doc = payment.getContent()
    5251#from Products.zdb import set_trace;set_trace()
    53 info['order_id'] = payment_doc.order_id
     52info['order_id'] = p_id = payment_doc.order_id
     53info['callback_url'] = "%s/payments/%s/epayment_requery_cb" % (student.absolute_url(),p_id)
    5454info['type_description'] = payment_doc.type_description
    55 info['pay_bill_to'] = payment_doc.pay_bill_to
    5655info['amount'] = payment_doc.amount
     56info['student_id'] = student_id
    5757logger.info('%(student_id)s requeried online school fee payment for order_id %(order_id)s' % info)
    5858payment_fields = (('x_SiteID','site_id'),
  • WAeUP_SRP/trunk/skins/waeup_epayment/requery_payment_form.pt

    r1613 r1620  
    33                tal:define="info options/info">
    44               
    5         <h3>Authorize Online Payment! </h3>
     5        <h3>Requery Online Payment! </h3>
    66        <br />
    77               
     
    1212          <input type="hidden" tal:attributes="name python:arg[0];value python:arg[1]" />
    1313      </span>         
    14       <div>Requery this payment</div>
    1514        <table>
    1615          <tr>
     
    1817            Payment:</td>
    1918            <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" />
    2619          </tr>
    2720          <tr>
Note: See TracChangeset for help on using the changeset viewer.