Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/helpers.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/helpers.py	(revision 15597)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/helpers.py	(revision 15598)
@@ -134,5 +134,5 @@
 
 def process_response(payment, form, view, verify):
-    if not form or not form.get('RESPONSE_CODE', None):
+    if not form or not form.get('SUCCESS', None):
         msg = _('No valid response from eTranzact.')
         log = 'No valid response from eTranzact for payment %s' % payment.p_id
@@ -140,5 +140,5 @@
         notify(grok.ObjectModifiedEvent(payment))
         return False, msg, log
-    success = form.get('RESPONSE_CODE', None)
+    success = form.get('SUCCESS', None)
     # Compute final checksum
     transaction_id = payment.p_id
@@ -155,5 +155,5 @@
         notify(grok.ObjectModifiedEvent(payment))
         return False, msg, log
-    payment.r_code = form.get('RESPONSE_CODE', None)
+    payment.r_code = form.get('SUCCESS', None)
     payment.r_desc = form.get('STATUS_REASON', None) # MESSAGE also available
     payment.r_amount_approved = float(form.get('AMOUNT', None))
Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py	(revision 15597)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py	(revision 15598)
@@ -48,4 +48,7 @@
 SECRET_KEY = 'DEMO_KEY'
 LOGO_URL = 'https://iuokada.waeup.org/static_custom/iou_logo.png'
+
+# Valid transaction id in eTranzact system
+TID = 'p5689785145198'
 
 def external_test(func):
@@ -137,11 +140,10 @@
         # So in this case transaction fails.
 
-        # Peter has manually created a successful payment. Let's use this one.
-        transaction_id = 'etz1568638104web'
-        raw, formvars = query_history(HOST, self.terminal_id,
-                                transaction_id, HTTPS)
+        # We manually created and tried to pay a transaction 
+        # which seems to be valid till next restart of the demo portal.
+        raw, formvars = query_history(HOST, self.terminal_id, TID, HTTPS)
         # Now eTranzact is redirecting but the response is still useless
         self.assertTrue('Redirecting...' in raw)
-        print query_response
+        self.assertEqual(formvars['TRANSACTION_ID'], TID)
         return
 
@@ -162,5 +164,5 @@
         #IWorkflowState(self.student).setState('started')
         super(EtranzactTestsApplicants, self).fill_correct_values()
-        self.applicantscontainer.application_fee = 1000.0
+        self.applicantscontainer.application_fee = 3333.0
         self.browser.getControl(name="form.nationality").value = ['NG']
         self.browser.getControl(name="transition").value = ['start']
@@ -177,5 +179,14 @@
         self.browser.getLink("Pay via eTranzact").click()
         self.assertTrue("Pay now" in self.browser.contents)
-
+        # Means of testing end here.
+        # We requery an existing paiment now.
+        self.payment.p_id = TID
+        self.browser.open(self.payment_url)
+        self.browser.getLink("Requery eTranzact History").click()
+        self.assertTrue('Wrong checksum.' in self.browser.contents)
+        # ... probably because responseurl of the transaction stored in the
+        # system and the responseurl generated in process_response are
+        # different
+        # Means of testing end here again.
         return
 
