Changeset 3237


Ignore:
Timestamp:
26 Feb 2008, 21:23:29 (17 years ago)
Author:
Henrik Bettermann
Message:

fix URL for maintenance

File:
1 edited

Legend:

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

    r3230 r3237  
    6868if review_state == 'cleared_and_validated':
    6969    info['payment_method'] = "online_payment"
    70 
    71 
     70#elif review_state == 'cleared_and_validated' and session == '07':
     71#    info['payment_method'] = "sc_payment"
    7272elif review_state == 'returning' and info['next_session'] != session:
    7373    info['payment_method'] = "online_payment"
     
    9797    row['trans_ref'] = payment.order_id
    9898    if row['is_requeryable']:
    99         row['callback_url'] = "%(url)s/interswitch_cb" % row
     99        if payment.category == 'schoolfee':
     100            row['callback_url'] = "%(url)s/interswitch_cb" % row
     101        elif payment.category == 'hostel_maintenance':
     102            row['callback_url'] = "%(url)s/interswitch_acco_cb" % row
     103        else:
     104            row['callback_url'] = ''
    100105        href = '%(query_url)s' % info
    101106        href += '?transRef=%(trans_ref)s' % row
Note: See TracChangeset for help on using the changeset viewer.