Index: /main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py
===================================================================
--- /main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py	(revision 14341)
+++ /main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py	(revision 14342)
@@ -68,4 +68,5 @@
         student = self.student
         xmldict = self.xmldict
+        self.pay_item_id = '0000'
         # Provider data
         xmldict['detail_ref'] = self.context.p_id
@@ -73,18 +74,20 @@
         xmldict['provider_bank_id'] = PROVIDER_BANK_ID
         xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
+        provider_amt = 500.0
         # Institution data
         xmldict['institution_acct'] = '1019684470'
         xmldict['institution_bank_id'] = '7'
-        provider_amt = 500.0
-        self.pay_item_id = '0000'
-        xmldict['provider_amt'] = 100 * provider_amt
         xmldict['institution_item_name'] = self.context.category
         xmldict['institution_name'] = INSTITUTION_NAME
+        if self.context.p_category == 'clearance':
+            self.pay_item_id = '102'
+        elif self.context.p_category.startswith('schoolfee'):
+            self.pay_item_id = '103'
+            if self.context.p_category in ('schoolfee', 'schoolfee_1'):
+                provider_amt = 4000.0
+        xmldict['provider_amt'] = 100 * provider_amt
         xmldict['institution_amt'] = 100 * (
             self.context.amount_auth - provider_amt - GATEWAY_AMT)
-        if self.context.p_category == 'clearance':
-            self.pay_item_id = '102'
-        elif self.context.p_category == 'schoolfee':
-            self.pay_item_id = '103'
+
         # Interswitch amount is not part of the xml data
         if provider_amt == 0:
@@ -174,4 +177,5 @@
     gateway_host = HOST
     gateway_url = URL
+    mac = '9309B5CBF1BFB09693C6F5F578046E3FCAB0A2538C3FE4221A6E63AFD348DE888E655F9C7E9F112151A702B6B09E6A7ACC5B3BF3C701F0C1B0D8EA6C1872AE94'
 
 class CustomInterswitchPaymentVerifyWebservicePageStudent(
@@ -183,4 +187,5 @@
     gateway_host = HOST
     gateway_url = URL
+    mac = '9309B5CBF1BFB09693C6F5F578046E3FCAB0A2538C3FE4221A6E63AFD348DE888E655F9C7E9F112151A702B6B09E6A7ACC5B3BF3C701F0C1B0D8EA6C1872AE94'
 
 class CustomInterswitchPaymentRequestWebservicePageApplicant(
@@ -202,2 +207,3 @@
     gateway_host = HOST
     gateway_url = URL
+    mac = '9309B5CBF1BFB09693C6F5F578046E3FCAB0A2538C3FE4221A6E63AFD348DE888E655F9C7E9F112151A702B6B09E6A7ACC5B3BF3C701F0C1B0D8EA6C1872AE94'
