Ignore:
Timestamp:
10 Nov 2007, 17:39:36 (17 years ago)
Author:
Henrik Bettermann
Message:

initialize payments_catalog.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/pay_interswitch.py

    r2172 r2619  
    5757if fulltime:
    5858    pay_item_id = "6100"
    59     info['type_code'] = sbrain.faculty
     59    info['type_code'] = sbrain.faculty   #type_code is redundant and will be removed soon
    6060    info['bank'] = ''
    6161else:
    6262    pay_item_id = "6101"
    63     info['type_code'] = sbrain.course
     63    info['type_code'] = sbrain.course  #type_code is redundant and will be removed soon
    6464    info['bank'] = ''
    6565info['payment_possible'] = True
     
    7272now = DateTime.DateTime()
    7373info['date'] = now
    74 order_id = info['order_id'] = "%d" % int(now.timeTime()*1000)
    75 info['order_id'] = "%s%s" % (student_id[1:],order_id)
    76 p_id = "p%s" % order_id
     74timestamp = "%d" % int(now.timeTime()*1000)
     75info['order_id'] = "%s%s" % (student_id[1:],timestamp)
     76p_id = "p%s" % timestamp
    7777
    7878if student_id is None:
Note: See TracChangeset for help on using the changeset viewer.