Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/credobrowser.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/credobrowser.py	(revision 17782)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/credobrowser.py	(revision 17783)
@@ -138,4 +138,6 @@
     gateway_amt = 0.0 # is being added by Etranzact
 
+    serviceCode = None
+
     def init_update(self):
         if self.context.p_state == 'paid':
@@ -176,5 +178,6 @@
     def pay(self, **data):
         success, url_or_message = initiate_payment(
-            self.context, self.host, self.callbackUrl, self.api_public_key)
+            self.context, self.host, self.callbackUrl,
+            self.api_public_key, self.serviceCode)
         if success:
             self.redirect(url_or_message, trusted=True)
Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/helpers.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/helpers.py	(revision 17782)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/helpers.py	(revision 17783)
@@ -289,5 +289,6 @@
 # Etranzact Credo payments helper functions
 
-def get_JSON_response_initialize(payment, host, callbackUrl, public_api_key):
+def get_JSON_response_initialize(payment, host, callbackUrl,
+                                 public_api_key, serviceCode):
     headers={
         'Content-Type':'application/JSON',
@@ -311,4 +312,5 @@
         'customerPhoneNumber': phone,
         'bearer': '0',
+        'serviceCode': serviceCode,
         }
     try:
@@ -346,6 +348,7 @@
 
 
-def initiate_payment(payment, host, callbackUrl, public_api_key):
-    response = get_JSON_response_initialize(payment, host, callbackUrl, public_api_key)
+def initiate_payment(payment, host, callbackUrl, public_api_key, serviceCode):
+    response = get_JSON_response_initialize(
+        payment, host, callbackUrl, public_api_key, serviceCode)
     if response.get('error', None):
         return False, response['error']
Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py	(revision 17782)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py	(revision 17783)
@@ -363,5 +363,5 @@
         public_api_key = API_PUBLIC_KEY
         callbackUrl = 'aa.aa.aa'
-        response = get_JSON_response_initialize(self.payment2, CREDO_HOST, callbackUrl, public_api_key)
+        response = get_JSON_response_initialize(self.payment2, CREDO_HOST, callbackUrl, public_api_key, None)
 
         ## A typical response
@@ -379,5 +379,5 @@
 
         # Payment already exists
-        self.assertEqual(response, {'error': {u'reference': u'Reference must be unique'}})
+        self.assertEqual(response, {'error': u'Reference must be unique. '})
 
         #self.assertEqual(response['status'], 200)
@@ -436,8 +436,8 @@
         public_api_key = API_PUBLIC_KEY
         callbackUrl = 'aa.aa.aa'
-        response = get_JSON_response_initialize(self.payment2, CREDO_HOST, callbackUrl, public_api_key)
+        response = get_JSON_response_initialize(self.payment2, CREDO_HOST, callbackUrl, public_api_key, None)
 
         # Payment already exists
-        self.assertEqual(response, {'error': {u'reference': u'Reference must be unique'}})
+        self.assertEqual(response, {'error': u'Reference must be unique. '})
 
         #self.assertEqual(response['status'], 200)
