Index: main/kofacustom.ecns/trunk/src/kofacustom/ecns/etranzact/browser.py
===================================================================
--- main/kofacustom.ecns/trunk/src/kofacustom/ecns/etranzact/browser.py	(revision 16589)
+++ main/kofacustom.ecns/trunk/src/kofacustom/ecns/etranzact/browser.py	(revision 16593)
@@ -52,9 +52,11 @@
 
     def update(self):
+        if not webconnect_module_activated(
+            self.context.__parent__.__parent__.year, self.context):
+            self.flash(_('Forbidden'), type='danger')
+            self.redirect(self.url(self.context, '@@index'))
+            return
         # Already now it becomes an Etranzact payment. We set the net amount
         # and add the gateway amount.
-        if not webconnect_module_activated(
-            self.context.__parent__.__parent__.year, self.context):
-            return _("Etranzact payments deactivated.")
         if not self.context.r_company:
             self.context.net_amt = self.context.amount_auth
@@ -67,5 +69,4 @@
             self.flash(error, type='danger')
             self.redirect(self.url(self.context, '@@index'))
-            return
         return
 
@@ -94,9 +95,11 @@
 
     def update(self):
+        if not webconnect_module_activated(
+            self.context.student.current_session, self.context):
+            self.flash(_('Forbidden'), type='danger')
+            self.redirect(self.url(self.context, '@@index'))
+            return
         # Already now it becomes an Etranzact payment. We set the net amount
         # and add the gateway amount.
-        if not webconnect_module_activated(
-            self.context.student.current_session, self.context):
-            return _("Etranzact payments deactivated.")
         if not self.context.r_company:
             self.context.net_amt = self.context.amount_auth
