Changeset 1644 for WAeUP_SRP


Ignore:
Timestamp:
27 Mar 2007, 05:48:59 (18 years ago)
Author:
Henrik Bettermann
Message:

fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r1643 r1644  
    562562                format_error = format + ',"%(Error)s"'
    563563            data = {}
    564            
     564
    565565            # format of the first file sent from Tayo
    566566            #data['datetime'] = date = DateTime.DateTime(pay_transaction['Date'])
     
    569569            #data['response_code'] = response_code = pay_transaction['Resp Code']
    570570            #data['amount'] = amount = pay_transaction['Amount']
    571            
     571
    572572            # format of the second file sent from Tayo
    573573            data['datetime'] = date = 0
    574574            data['student_id'] = student_id = pay_transaction['Payer ID']
    575575            data['order_id'] = order_id = pay_transaction['Order ID (Tranx Ref)']
    576             data['response_code'] = '00'
    577             data['amount'] = amount = pay_transaction['Amount']           
    578            
     576            data['response_code'] = response_code = '00'
     577            data['amount'] = amount = pay_transaction['Amount']
     578
    579579            dup = False
    580580            if response_code == "12":
Note: See TracChangeset for help on using the changeset viewer.