Ignore:
Timestamp:
29 Oct 2011, 12:30:52 (13 years ago)
Author:
Henrik Bettermann
Message:

Adjust fee and switch to live payment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch_accept.py

    r6955 r6964  
    6969
    7070info['surcharge'] = 300
    71 info['acceptance_fee'] = 20000
     71
     72#students in faculties 'EET','ICT' and Department 'ARC' pay 25000 while others pay 20000
     73if student_record.faculty in ['EET','ICT'] or student_record.department in ['ARC']:
     74    info['acceptance_fee'] = 25000
     75else:
     76    info['acceptance_fee'] = 20000
     77
    7278info['amount'] = amount = info['acceptance_fee']
    73 total_amount = 100*(int(amount) + info['surcharge'])
     79total_amount = 100*(info['amount'] + info['surcharge'])
    7480
    7581if student_id is None:
     
    8086
    8187info['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx"
    82 info['action'] = "https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx"
     88#info['action'] = "https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx"
    8389
    8490if "payments" not in student.objectIds():
Note: See TracChangeset for help on using the changeset viewer.