Index: main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
===================================================================
--- main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py	(revision 14861)
+++ main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py	(revision 14862)
@@ -86,4 +86,8 @@
     }
 
+
+# Not yet readily configured. MAC is missing. Bank account numbers are
+# contradictory. pay_item_ids are not yet assigned.
+
 class CustomInterswitchPageStudent(InterswitchPageStudent):
     """ View which sends a POST request to the Interswitch
@@ -111,9 +115,30 @@
         xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
         # Institution data
-        xmldict['institution_acct'] = '00000000'
-        xmldict['institution_bank_id'] = '00'
+        xmldict['institution_acct'] = '0010761873'
+        xmldict['institution_bank_id'] = '11'
         xmldict['institution_amt'] = '0.0'
         provider_amt = 500.0
-        self.pay_item_id = '0000' # must be provided by Interswitch
+
+        if self.context.p_category.startswith('schoolfee'):
+            self.pay_item_id = '102'
+        elif self.context.p_category == 'clearance':
+            self.pay_item_id = '103'
+        elif self.context.p_category == 'bed_allocation':
+            self.pay_item_id = '104'
+        elif self.context.p_category == 'hostel_maintenance':
+            self.pay_item_id = '105'
+        elif self.context.p_category == 'transfer':
+            self.pay_item_id = '106'
+        elif self.context.p_category == 'gown':
+            self.pay_item_id = '107'
+        elif self.context.p_category == 'transcript':
+            self.pay_item_id = '108'
+        elif self.context.p_category == 'late_registration':
+            self.pay_item_id = '109'
+        elif self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys():
+            self.pay_item_id = SPECIAL_PAYMENT_PARAMS[self.context.p_category][0]
+            provider_amt = SPECIAL_PAYMENT_PARAMS[self.context.p_category][1]
+            xmldict['institution_acct'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][2]
+            xmldict['institution_bank_id'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][3]
         xmldict['provider_amt'] = 100 * provider_amt
         xmldict['institution_item_name'] = self.context.category
Index: main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
===================================================================
--- main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py	(revision 14861)
+++ main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py	(revision 14862)
@@ -74,5 +74,5 @@
         self.payment_url = self.browser.url
         self.browser.getLink("CollegePAY", index=0).click()
-        self.assertMatches('...<input type="hidden" name="pay_item_id" value="0000" />...',
+        self.assertMatches('...<input type="hidden" name="pay_item_id" value="102" />...',
                            self.browser.contents)
         self.assertMatches('...Total Amount Authorized:...',
@@ -83,5 +83,5 @@
             self.browser.contents)
         self.assertMatches(
-            '...item_name="School Fee" item_amt="4000000" bank_id="00" acct_num="00000000"...',
+            '...item_name="School Fee" item_amt="4000000" bank_id="11" acct_num="0010761873"...',
             self.browser.contents)
 
@@ -97,5 +97,5 @@
         self.browser.open(self.payments_path + '/xyz')
         self.browser.getLink("CollegePAY", index=0).click()
-        self.assertMatches('...<input type="hidden" name="pay_item_id" value="0000" />...',
+        self.assertMatches('...<input type="hidden" name="pay_item_id" value="103" />...',
                            self.browser.contents)
         self.assertMatches('...Total Amount Authorized:...',
