Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py	(revision 16848)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py	(revision 16849)
@@ -93,8 +93,13 @@
         xmldict['institution_bank_id'] = '117'
         provider_amt = 0.0
+        tech_fee = 1200
         if self.context.p_category == 'clearance':
             provider_amt = 500.0
+        if self.context.p_category == 'schoolfee':
+            provider_amt = 2800.0
+            tech_fee = 1200
         self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch
         xmldict['provider_amt'] = 100 * provider_amt
+        xmldict['tech_fee'] = 100 * tech_fee
         xmldict['institution_item_name'] = self.context.category
         xmldict['institution_name'] = INSTITUTION_NAME
@@ -103,4 +108,5 @@
             self.context.provider_amt = provider_amt
             self.context.amount_auth += provider_amt
+        self.context.amount_auth += tech_fee
         if provider_amt == 0:
             xmltext = """<payment_item_detail>
@@ -109,4 +115,11 @@
 </item_details>
 </payment_item_detail>""" % xmldict
+        elif tech_fee == 0:
+            xmltext = """<payment_item_detail>
+<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_details>
+</payment_item_detail>""" % xmldict
         else:
             xmltext = """<payment_item_detail>
@@ -114,4 +127,5 @@
 <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="3" item_name="Technology Fee" item_amt="%(tech_fee)d" bank_id="117" acct_num="1216063205" />
 </item_details>
 </payment_item_detail>""" % xmldict
Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py	(revision 16848)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py	(revision 16849)
@@ -78,5 +78,5 @@
         self.assertEqual(self.student.current_mode, 'ug_ft')
         self.assertTrue(
-            '<input type="hidden" name="amount" value="8025000" />' in
+            '<input type="hidden" name="amount" value="8425000" />' in
             self.browser.contents)
         self.assertTrue(
