Index: /main/kofacustom.nigeria/trunk/CHANGES.txt
===================================================================
--- /main/kofacustom.nigeria/trunk/CHANGES.txt	(revision 11766)
+++ /main/kofacustom.nigeria/trunk/CHANGES.txt	(revision 11767)
@@ -4,4 +4,7 @@
 1.2 (unreleased)
 ================
+
+- All fee amounts must be passed to Interswitch as integers
+  (mutltiples of Kobos) not floats.
 
 - Add 'jamb_age' field.
Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py	(revision 11766)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py	(revision 11767)
@@ -167,5 +167,5 @@
             self.context.p_item, self.context.p_session):
             return _("This type of payment has already been made.")
-        self.amount_auth = 100 * self.context.amount_auth
+        self.amount_auth = int(100 * self.context.amount_auth)
         xmldict = {}
         if certificate is not None:
@@ -217,5 +217,5 @@
                      "Application period has expired.")
         self.applicant = self.context.__parent__
-        self.amount_auth = 100 * self.context.amount_auth
+        self.amount_auth = int(100 * self.context.amount_auth)
         self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category]
         tz = getUtility(IKofaUtils).tzinfo
Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/tests.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/tests.py	(revision 11766)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/tests.py	(revision 11767)
@@ -64,5 +64,5 @@
         self.assertEqual(self.student.current_mode, 'ug_ft')
         self.assertMatches(
-            '...<input type="hidden" name="amount" value="4000000.0" />...',
+            '...<input type="hidden" name="amount" value="4000000" />...',
             self.browser.contents)
 
@@ -91,5 +91,5 @@
                            self.browser.contents)
         self.assertMatches(
-            '...<input type="hidden" name="amount" value="2000000.0" />...',
+            '...<input type="hidden" name="amount" value="2000000" />...',
             self.browser.contents)
 
@@ -132,5 +132,5 @@
                            self.browser.contents)
         self.assertMatches(
-            '...<input type="hidden" name="amount" value="100000.0" />...',
+            '...<input type="hidden" name="amount" value="100000" />...',
             self.browser.contents)
 
