Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 9128)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 9129)
@@ -178,5 +178,5 @@
     site_name = SITE_NAME
     currency = CURRENCY
-    pay_item_id = '8303'
+    pay_item_id = '8302'
     product_id = PRODUCT_ID
 
@@ -212,7 +212,23 @@
         # Institution data
         studycourse = student['studycourse']
-        xmldict['institution_acct'] = '000000000000'
-        xmldict['institution_bank_id'] = '00'
-        xmldict['institution_amt'] = 100 * (self.context.amount_auth - 500 - 150)
+        if student.current_mode in ('ug_sw','prence',):
+            xmldict['institution_acct'] = "6216801025"
+            xmldict['institution_bank_id'] = '117'
+        elif student.current_mode in ('ug_ft',) and \
+            student['studycourse'].current_verdict == 'O':
+            xmldict['institution_acct'] = "6216801025"
+            xmldict['institution_bank_id'] = '117'
+        elif student.current_mode in ('ug_ft',):
+            xmldict['institution_acct'] = "6216801033"
+            xmldict['institution_bank_id'] = '117'
+        elif student.current_mode in ('pd_ft',):
+            xmldict['institution_acct'] = "6216801025"
+            xmldict['institution_bank_id'] = '117'
+        else:
+            xmldict['fceokene_acct'] = "0000000000000"
+            xmldict['institution_bank_id'] = '0'
+        xmldict['fceokene_split'] = 100 * 1400
+        xmldict['institution_amt'] = 100 * (
+            self.context.amount_auth - 500 - 150 - 1400)
         xmldict['institution_item_name'] = self.context.p_category
         xmldict['institution_name'] = INSTITUTION_NAME
@@ -221,5 +237,6 @@
 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
-<item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
+<item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)s" bank_id="117" acct_num="6216801058" />
+<item_detail item_id="3" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
 </item_details>
 </payment_item_detail>""" % xmldict
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py	(revision 9128)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py	(revision 9129)
@@ -81,8 +81,15 @@
         self.assertMatches('...Total Amount Authorized:...',
                            self.browser.contents)
-        # The total amount to be processed by Interswitch
-        # has been reduced by the Interswitch fee of 150 Nairas
         self.assertMatches(
             '...<input type="hidden" name="amount" value="4000000.0" />...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="schoolfee" item_amt="3795000" bank_id="117" acct_num="6216801033"...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="6216801058"...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="BT Education" item_amt="50000" bank_id="31" acct_num="0026781725"...',
             self.browser.contents)
 
