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

adjust script

File:
1 edited

Legend:

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

    r3231 r3238  
    8383    if payment.status == "paid":
    8484        paid_fees += "%s_%s" % (payment.category,payment.session_id),
    85 #info['pf'] = paid_fees       
     85#info['pf'] = paid_fees
    8686for payment in payment_records:
    8787    row = {}
     
    9898    if row['is_requeryable']:
    9999        row['callback_url'] = "%(url)s/interswitch_cb" % row
     100#        if payment.category == 'schoolfee':
     101#            row['callback_url'] = "%(url)s/interswitch_cb" % row
     102#        elif payment.category == 'hostel_maintenance':
     103#            row['callback_url'] = "%(url)s/interswitch_acco_cb" % row
     104#        else:
    100105        href = '%(query_url)s' % info
    101106        href += '?transRef=%(trans_ref)s' % row
Note: See TracChangeset for help on using the changeset viewer.