Index: WAeUP_SRP/aaua/waeup_custom/getPaymentsFolderInfo.py
===================================================================
--- WAeUP_SRP/aaua/waeup_custom/getPaymentsFolderInfo.py	(revision 3576)
+++ WAeUP_SRP/aaua/waeup_custom/getPaymentsFolderInfo.py	(revision 3586)
@@ -71,5 +71,5 @@
 elif review_state == 'returning' and info['next_session'] != session:
     info['payment_method'] = "online_payment"
-info['prod_id'] = '83'
+info['prod_id'] = '105'
 
 # end customization
Index: WAeUP_SRP/aaua/waeup_custom/pay_interswitch.py
===================================================================
--- WAeUP_SRP/aaua/waeup_custom/pay_interswitch.py	(revision 3576)
+++ WAeUP_SRP/aaua/waeup_custom/pay_interswitch.py	(revision 3586)
@@ -48,8 +48,8 @@
     return context.interswitch_form(info=info)
 
-info['site_id'] = '83'
+info['site_id'] = '105'
 info['currency_id'] = '566'
+pay_item_id = "10500"
 
-pay_item_id = "8302"
 #info['type_code'] = sbrain.course  #type_code is redundant and will be removed soon
 info['bank'] = ''
@@ -67,5 +67,5 @@
 now = DateTime.DateTime()
 info['date'] = now
-info['pay_ship_to'] = "Federal College of Education Okene"
+info['pay_ship_to'] = "Adekunle Ajasin University"
 timestamp = "%d" % int(now.timeTime()*1000)
 info['order_id'] = "%s%s" % (student_id[1:],timestamp)
@@ -82,5 +82,5 @@
 
 if True:
-    info['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx"
+    info['action'] = "https://webpay.interswitchng.com/test_paydirect/webpay/pay.aspx"
 else:
     #pass
@@ -128,11 +128,34 @@
     args[arg] = info[field]
 
+bt_amount = 4000
+
+aaua_amount = amount - bt_amount
+xmldict = {}
+xmldict['detail_ref'] = args['txn_ref']
+xmldict['department'] = student_record.department
+xmldict['faculty'] = student_record.faculty
+xmldict['aaua_amount'] = "%d" % int(100*aaua_amount)
+xmldict['bt_amount'] = "%d" % int(100*bt_amount)
+
+
+xmltext = """
+<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="AAUA" department="%(department)s" faculty="%(faculty)s">
+<item_detail item_id="1" item_name="AAUA" item_amt="%(aaua_amount)s" bank_id="00" acct_num="0000000000000000" />
+<item_detail item_id="2" item_name="BT" item_amt="%(bt_amount)s" bank_id="00" acct_num="0000000000000000" />
+</item_details>
+</payment_item_detail>
+""" % xmldict
+
+
 args['Amount'] = "%d" % (total_amount)
-args['site_name'] = "fceokene.waeup.org"
+args['site_name'] = "aaua.waeup.org"
 args['cust_name_desc'] = "Student Name"
 args['pay_item_id'] = pay_item_id
-args['pay_item_name'] = "FCEOKENE Tuition Payments"
-args['payment_params'] = 'switch_college_split'
-args['xml_data'] = ''
+args['pay_item_name'] = "AAUA Tuition Payments"
+args['payment_params'] = 'college_split'
+#args['xml_data'] = ''
+args['xml_data'] = xmltext
 info['args'] = args
 return context.goto_interswitch_form(info=info)
+
