Index: /main/waeup.fceokene/trunk/CHANGES.txt
===================================================================
--- /main/waeup.fceokene/trunk/CHANGES.txt	(revision 11648)
+++ /main/waeup.fceokene/trunk/CHANGES.txt	(revision 11649)
@@ -4,4 +4,6 @@
 1.2dev (unreleased)
 ===================
+
+* Use init_update and samePaymentMade methods.
 
 * Use base classes InterswitchPageApplicant and InterswitchPageStudent from
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 11648)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 11649)
@@ -58,6 +58,11 @@
 
     def update(self):
-        student, certificate, xmldict = super(
-            CustomInterswitchPageStudent, self).update()
+        error = self.init_update()
+        if error:
+            self.flash(error, type='danger')
+            self.redirect(self.url(self.context, '@@index'))
+            return
+        student = self.student
+        xmldict = self.xmldict
         # Provider data
         provider_amt = 1600.0
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py	(revision 11648)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py	(revision 11649)
@@ -278,11 +278,6 @@
         if amount in (0.0, None):
             return _(u'Amount could not be determined.'), None
-        for key in student['payments'].keys():
-            ticket = student['payments'][key]
-            if ticket.p_state == 'paid' and\
-               ticket.p_category == category and \
-               ticket.p_item == p_item and \
-               ticket.p_session == p_session:
-                  return _('This type of payment has already been made.'), None
+        if self.samePaymentMade(student, category, p_item, p_session):
+            return _('This type of payment has already been made.'), None
         if self._isPaymentDisabled(p_session, category, student):
             return _('Payment temporarily disabled.'), None
