Ignore:
Timestamp:
4 Dec 2007, 19:24:23 (17 years ago)
Author:
joachim
Message:

implementing the payments_catalog

Location:
WAeUP_SRP/base/skins/waeup_epayment
Files:
1 added
2 edited

Legend:

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

    r2856 r2859  
    6161if pd['resp_code'] == '00' and len(pd['resp_approved_amount']) > 4:
    6262    pd['resp_approved_amount'] = pd['resp_approved_amount'][:-2]
     63    pd['status'] = 'paid'
    6364else:
    6465    pd['resp_approved_amount'] = '0'
     66    pd['status'] = 'failed'
    6567
    6668review_state = wftool.getInfoFor(context,'review_state',None)
  • WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py

    r2678 r2859  
    103103    info['type_code'] = "%s" % pin  #type_code is redundant and will be removed soon
    104104    info['type_description'] = 'School Fee for Session %s' % next_session_str
     105    info['type'] = 'SC'
     106    info['status'] = 'paid'
     107    info['target'] = s_brain.course
     108    info['subject'] = 'schoolfee'
    105109    info['resp_code'] = "SC"
    106110    info['resp_desc'] = "SC Payment Successful"
Note: See TracChangeset for help on using the changeset viewer.