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_by_sc.py

    r2475 r2619  
    8484#from Products.zdb import set_trace; set_trace()
    8585info = {}
    86 order_id = ds.get('pin_n')
    87 p_id = "p%s" % order_id
     86p_id = "p%s" % ds.get('pin_n')
    8887pin = str(ds.get('pin'))
    8988try:
     
    10099    info['date'] = now
    101100    info['amount'] = cost
    102     pin = info['order_id'] = "%s" % (pin)
    103     info['type_code'] = "%s" % pin
     101    pin = info['order_id'] = "%s" % pin
     102    info['type_code'] = "%s" % pin  #type_code is redundant and will be removed soon
    104103    info['type_description'] = 'School Fee for Session %s' % next_session_str
    105104    info['resp_code'] = "SC"
     
    117116    except:
    118117        pass
    119     verdict = s_brain.verdict   
     118    verdict = s_brain.verdict
    120119    study_course.getContent().edit(mapping= {'current_level': next_level_id,
    121120                                             'current_session': next_session_id,
Note: See TracChangeset for help on using the changeset viewer.