Changeset 2834 for WAeUP_SRP


Ignore:
Timestamp:
30 Nov 2007, 16:58:25 (17 years ago)
Author:
Henrik Bettermann
Message:

more customizations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py

    r2758 r2834  
    7171elif review_state == 'returning' and info['next_session'] != session:
    7272    info['payment_method'] = "online_payment"
    73 info['prod_id'] = '61'
     73info['prod_id'] = '83'
    7474
    7575info['student_name'] = s_brain.name
     
    9595    row['trans_ref'] = getattr(so_doc,'order_id','')
    9696    if so_doc.type_description.startswith('School Fee'):
    97         if review_state == 'opened' and info['review_state'] == 'cleared_and_validated' and hasattr(so_doc, 'order_id') and not so_doc.resp_code:
     97        if review_state == 'opened' and info['review_state'] in ('cleared_and_validated','returning') and hasattr(so_doc, 'order_id') and not so_doc.resp_code:
    9898            row['is_requeryable'] = True
    9999            row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
Note: See TracChangeset for help on using the changeset viewer.