Index: /WAeUP_SRP/fceokene/waeup_custom/pay_interswitch.py
===================================================================
--- /WAeUP_SRP/fceokene/waeup_custom/pay_interswitch.py	(revision 2797)
+++ /WAeUP_SRP/fceokene/waeup_custom/pay_interswitch.py	(revision 2798)
@@ -103,8 +103,5 @@
 d = {}
 d.update(info)
-#from Products.zdb import set_trace;set_trace()
 payment.getContent().edit(mapping=d)
-#wftool.doActionFor(payment,'close')
-#wftool.doActionFor(student,'pay_school_fee')
 info['callback_url'] = "%s/payments/%s/interswitch_cb?echo=%s" % (student.absolute_url(),
                                                                   p_id,
@@ -125,29 +122,8 @@
     args[arg] = info[field]
 itotal = int(amount)*100
-wema_amount = 10000
-provider_amount = 35000
 interswitch_amount = 15000
-#uniben_amount = itotal - wema_amount - provider_amount - interswitch_amount
-uniben_amount = itotal - interswitch_amount
-xmldict = {}
-xmldict['detail_ref'] = args['txn_ref']
-xmldict['department'] = sbrain.department
-xmldict['faculty'] = sbrain.faculty
-#xmldict['wema_amt'] = "%d" % wema_amount
-#xmldict['provider_amt'] = "%d" % provider_amount
-xmldict['uniben_amt'] = "%d" % uniben_amount
-##<item_detail item_id="2" item_name="WEMA" item_amt="%(wema_amt)s" bank_id="16" acct_num="48398023902" />
-##<item_detail item_id="3" item_name="Portal Provider" item_amt="%(provider_amt)s" bank_id="47" acct_num="0980938209483" />
-xmltext = """
-<payment_item_detail>
-<item_details detail_ref="%(detail_ref)s" college="FCEOKENE" department="%(department)s"
-faculty="%(faculty)s">
-<item_detail item_id="1" item_name="FCEOKENE" item_amt="%(uniben_amt)s" bank_id="16" acct_num="384950902390" />
-</item_details>
-</payment_item_detail>
-""" % xmldict
-#total = int(xmldict['uniben_amt'])+int(xmldict['wema_amt'])+int(xmldict['provider_amt'])
-total = int(xmldict['uniben_amt'])
-args['Amount'] = "%d" % (total + 15000)
+total_amount = itotal + interswitch_amount
+
+args['Amount'] = "%d" % (total_amount)
 args['site_name'] = "fceokene.waeup.org"
 args['cust_name_desc'] = "Student Name"
@@ -155,5 +131,4 @@
 args['pay_item_name'] = "FCEOKENE Tuition Payments"
 args['payment_params'] = 'switch_college_split'
-#args['xml_data'] = xmltext % info
 args['xml_data'] = ''
 info['args'] = args
