Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py	(revision 9711)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py	(revision 9712)
@@ -21,4 +21,5 @@
 from xml.dom.minidom import parseString
 import grok
+from zope.event import notify
 from zope.component import getUtility
 from waeup.kofa.browser.layout import KofaPage, UtilityView
@@ -105,4 +106,5 @@
             payment.p_category, payment.p_id, sr)
         payment.p_state = 'failed'
+        notify(grok.ObjectModifiedEvent(payment))
         return False, msg, log
     if payment.r_amount_approved != payment.amount_auth:
@@ -111,4 +113,5 @@
             payment.p_category, payment.p_id, sr)
         payment.p_state = 'failed'
+        notify(grok.ObjectModifiedEvent(payment))
         return False, msg, log
     if wlist[4] != payment.p_id:
@@ -117,4 +120,5 @@
             payment.p_category, payment.p_id, sr)
         payment.p_state = 'failed'
+        notify(grok.ObjectModifiedEvent(payment))
         return False, msg, log
     payment.p_state = 'paid'
@@ -123,4 +127,5 @@
     log = 'valid callback for %s payment %s: %s' % (
         payment.p_category, payment.p_id, sr)
+    notify(grok.ObjectModifiedEvent(payment))
     return True, msg, log
 
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py	(revision 9711)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py	(revision 9712)
@@ -16,4 +16,6 @@
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 ##
+from zope.component import getUtility
+from zope.catalog.interfaces import ICatalog
 from hurry.workflow.interfaces import IWorkflowState
 from waeup.kofa.students.tests.test_browser import StudentsFullSetup
@@ -160,5 +162,11 @@
         self.assertMatches('...Unsuccessful callback...',
                           self.browser.contents)
-        # The payment is now in state failed
+        # The payment is now in state failed ...
         self.assertMatches('...<span>Failed</span>...',
                           self.browser.contents)
+        # ... and the catalog has been updated
+        cat = getUtility(ICatalog, name='payments_catalog')
+        results = list(
+            cat.searchResults(p_state=('failed', 'failed')))
+        self.assertEqual(len(results), 1)
+        self.assertEqual(results[0].p_state, 'failed')
