Ignore:
Timestamp:
17 Mar 2007, 15:25:56 (18 years ago)
Author:
Henrik Bettermann
Message:

new logging format Part 4 (rest)

Location:
WAeUP_SRP/trunk/skins/waeup_epayment
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/pay_online.py

    r1568 r1571  
    9191info['callback_url'] = "%s/payments/%s/epayment_cb" % (student.absolute_url(),p_id)
    9292
    93 logger.info('%(student_id)s initiated online school fee payment, %(type_description)s %(amount)s N' % info)
     93logger.info('%(student_id)s initiated online school fee payment' % info)
    9494payment_fields = (('x_SiteID','site_id'),
    9595                  ('x_Redirect_url','callback_url'),
  • WAeUP_SRP/trunk/skins/waeup_epayment/simulate_callback.py

    r1568 r1571  
    1010validate = REQUEST.has_key("cpsdocument_edit_button")
    1111
     12import logging
     13logger = logging.getLogger('Skins.simulate_callback')
     14
    1215args = {}
    1316args['x_RespDesc'] = 'Simulated Callback'
     
    1720args['x_ApprAmt'] = REQUEST.get('x_amt')
    1821
     22
     23student_id = context.getStudentId()
     24logger.info('%s received simulated callback' % student_id)
     25
    1926from urllib import urlencode
    2027#url = "%s/epayment_cb/?%s" % (context.absolute_url(),urlencode(args))
Note: See TracChangeset for help on using the changeset viewer.