Index: main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
===================================================================
--- main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 11775)
+++ main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 11919)
@@ -78,5 +78,5 @@
         xmldict['institution_item_name'] = self.category
         xmldict['institution_name'] = INSTITUTION_NAME
-        if self.context.p_category == 'schoolfee':
+        if self.context.p_category in ('schoolfee', 'third_semester'):
             self.pay_item_id = '8302'
             if student.current_mode in ('nce_sw','prence',):
@@ -119,5 +119,5 @@
 
         # Interswitch amount is not part of the xml data
-        if self.context.p_category == 'schoolfee':
+        if self.context.p_category in ('schoolfee', 'third_semester'):
             xmltext = """<payment_item_detail>
 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
Index: main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
===================================================================
--- main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py	(revision 11775)
+++ main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py	(revision 11919)
@@ -106,4 +106,29 @@
             in self.browser.contents)
 
+        # Third semester payment
+        self.app['configuration']['2004'].third_semester_fee = 10000.0
+        self.browser.open(self.payments_path)
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(
+            name="form.p_category").value = ['third_semester']
+        self.browser.getControl("Create ticket").click()
+        ctrl = self.browser.getControl(name='val_id')
+        value = ctrl.options[1]
+        self.browser.getLink(value).click()
+        self.browser.getLink("CollegePAY", index=0).click()
+
+        self.assertTrue(
+            '<input type="hidden" name="amount" value="691300" />'
+            in self.browser.contents)
+        self.assertTrue(
+            'item_name="NCE Third Semester Fee" item_amt="376300" bank_id="117" acct_num="1012044015"'
+            in self.browser.contents)
+        self.assertTrue(
+            'item_name="FCEOkene Split" item_amt="140000" bank_id="117" acct_num="1012044039"'
+            in self.browser.contents)
+        self.assertTrue(
+            'item_name="BT Education" item_amt="160000" bank_id="31" acct_num="0026781725"'
+            in self.browser.contents)
+
         # Maintenance fee payment
 
@@ -136,5 +161,5 @@
                            self.browser.contents)
         ctrl = self.browser.getControl(name='val_id')
-        value = ctrl.options[1]
+        value = ctrl.options[2]
         self.browser.getLink(value).click()
         self.assertMatches('...Amount Authorized...',
@@ -192,5 +217,5 @@
                            self.browser.contents)
         ctrl = self.browser.getControl(name='val_id')
-        value = ctrl.options[2]
+        value = ctrl.options[3]
         self.browser.getLink(value).click()
         self.assertMatches('...Amount Authorized...',
