Index: /main/waeup.custom/trunk/src/waeup/custom/students/interswitch.py
===================================================================
--- /main/waeup.custom/trunk/src/waeup/custom/students/interswitch.py	(revision 7895)
+++ /main/waeup.custom/trunk/src/waeup/custom/students/interswitch.py	(revision 7896)
@@ -151,6 +151,11 @@
             return
 
-        # Add amount checking
-
+        if query.get('apprAmt', None) != str(self.context.amount_auth):
+            self.flash(_('Wrong amount'))
+            write_log_message(self,'wrong amount: %s' % self.context.p_id)
+            self.context.r_card_num = query.get('cardNum', None)
+            self.context.r_code = query.get('resp', None)
+            self.context.p_state = 'failed'
+            return
 
         # Add webservice validation
Index: /main/waeup.custom/trunk/src/waeup/custom/students/tests/test_interswitch.py
===================================================================
--- /main/waeup.custom/trunk/src/waeup/custom/students/tests/test_interswitch.py	(revision 7895)
+++ /main/waeup.custom/trunk/src/waeup/custom/students/tests/test_interswitch.py	(revision 7896)
@@ -74,4 +74,7 @@
                            self.browser.contents)
         self.browser.open(self.callback_url(payment_url, '00', '300'))
+        self.assertMatches('...Wrong amount...',
+                          self.browser.contents)
+        self.browser.open(self.callback_url(payment_url, '00', '40000'))
         self.assertMatches('...Valid callback received...',
                           self.browser.contents)
