Index: main/kofacustom.ecns/trunk/src/kofacustom/ecns/interswitch/browser.py
===================================================================
--- main/kofacustom.ecns/trunk/src/kofacustom/ecns/interswitch/browser.py	(revision 16591)
+++ main/kofacustom.ecns/trunk/src/kofacustom/ecns/interswitch/browser.py	(revision 16593)
@@ -20,4 +20,5 @@
 import grok
 from kofacustom.nigeria.interswitch.browser import (
+    module_activated,
     InterswitchPaymentRequestWebservicePageApplicant,
     InterswitchPaymentRequestWebservicePageStudent,
@@ -31,5 +32,5 @@
 
 PRODUCT_ID = '' # must be provided by Interswitch
-SITE_NAME = 'ecns-kofa.waeup.org'
+SITE_NAME = 'ecns.waeup.org'
 PROVIDER_ACCT = '00000000'
 PROVIDER_BANK_ID = '00'
@@ -63,4 +64,9 @@
 
     def update(self):
+        if not module_activated(
+            self.context.student.current_session, self.context):
+            self.flash(_('Forbidden'), type='danger')
+            self.redirect(self.url(self.context, '@@index'))
+            return
         error = self.init_update()
         if error:
@@ -134,4 +140,9 @@
 
     def update(self):
+        if not module_activated(
+            self.context.__parent__.__parent__.year, self.context):
+            self.flash(_('Forbidden'), type='danger')
+            self.redirect(self.url(self.context, '@@index'))
+            return
         error = self.init_update()
         if error:
