Index: /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 14794)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 14795)
@@ -28,8 +28,8 @@
 
 # Temporarily we can use the test portal like in kofacustom.nigeria
-MERCHANTID = '2547916'
-HOST = 'www.remitademo.net'
-HTTPS = False
-API_KEY = '1946'
+MERCHANTID = '2067163382'
+HOST = 'login.remita.net'
+HTTPS = True
+API_KEY = '309418'
 SERVICETYPEID = '4430731'
 
@@ -43,5 +43,4 @@
     https = HTTPS
     api_key = API_KEY
-    serviceTypeId = SERVICETYPEID
 
 class CustomRemitaVerifyPaymentStatusPageStudent(
@@ -63,5 +62,4 @@
     https = HTTPS
     api_key = API_KEY
-    serviceTypeId = SERVICETYPEID
 
     init_url = '/remita/ecomm/split/init.reg'
@@ -69,5 +67,25 @@
 
     @property
-    def lineitems(self):
+    def serviceTypeId(self):
+        student = self.context.student
+        if self.context.p_category == 'schoolfee':
+            if student.current_mode.startswith('dp_'):
+                return '2067090482'
+            if student.current_mode == 'pg_ft':
+                return '2067090691'
+            if student.current_mode == 'pg_pt':
+                return '2067091011'
+            if student.current_mode == 'ug_sw':
+                return '2066967204'
+            if student.current_mode == 'ug_ft':
+                return '2067091395'
+            if student.current_mode == 'ug_pt':
+                return '2067091679'
+            if student.faccode == 'JUPEB':
+                return '1946888188'
+        return ''
+
+    @property
+    def demo_lineitems(self):
         ba1 = self.context.amount_auth / 2
         ba2 = self.context.amount_auth / 2
@@ -88,5 +106,5 @@
 
     @property
-    def live_lineitems(self):
+    def lineitems(self):
         provider_amt = 0.0
         if self.context.p_category == 'schoolfee' and \
@@ -134,5 +152,4 @@
     https = HTTPS
     api_key = API_KEY
-    serviceTypeId = SERVICETYPEID
 
 class CustomRemitaVerifyPaymentStatusPageApplicant(
@@ -154,8 +171,11 @@
     https = HTTPS
     api_key = API_KEY
-    serviceTypeId = SERVICETYPEID
 
     init_url = '/remita/ecomm/split/init.reg'
     action = 'http://www.remitademo.net/remita/ecomm/finalize.reg'
+
+    @property
+    def serviceTypeId(self):
+        return SERVICETYPEID
 
     @property
