Index: WAeUP_SRP/base/skins/waeup_epayment/interswitch_acco_cb.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_epayment/interswitch_acco_cb.py	(revision 2886)
+++ WAeUP_SRP/base/skins/waeup_epayment/interswitch_acco_cb.py	(revision 2891)
@@ -53,9 +53,19 @@
 for rc,pdk in resp_codes:
     pd[pdk] = request.get(rc,'')
+    
+    
+## for testing purposes
+pd['resp_desc'] = 'Simulated Callback'
+pd['resp_pay_reference'] = 'XXXX'
+pd['resp_code'] = '00'
+pd['resp_card_num'] = '0000'
+pd['resp_approved_amount'] = '10000'    
 
 if pd['resp_code'] == '00' and len(pd['resp_approved_amount']) > 4:
     pd['resp_approved_amount'] = pd['resp_approved_amount'][:-2]
+    pd['status'] = 'paid'
 else:
     pd['resp_approved_amount'] = '0'
+    pd['status'] = 'failed'    
 
 review_state = wftool.getInfoFor(context,'review_state',None)
@@ -86,4 +96,9 @@
     else:
         logger.info('%s received unsuccessfull callback: %s' % (student_id,pd['resp_desc']))
+
+    try:
+        wftool.doActionFor(context,'close')
+    except:
+        logger.info('%s no workflow action close' % student_id)       
     try:
         wftool.doActionFor(acco_info['acco'],'pay_maintenance_fee',dest_container=acco_info['acco'])
@@ -92,6 +107,7 @@
         logger.info('%s no workflow action pay_maintainance_fee' % student_id)
         return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
-    
-else:        
+ 
+
+else:
     next_info = context.getNextInfo(s_brain)
     next_session_id = next_info['next_session_id']
@@ -101,5 +117,5 @@
     next_verdict = next_info['next_verdict']
     next_previous_verdict = next_info['next_previous_verdict']
-    
+
     if  resp == '00':
         if context.getStudentReviewState() == "school_fee_paid":
@@ -121,5 +137,5 @@
             if next_transition:
                 wftool.doActionFor(student,next_transition)
-    
+
         logger.info('%s received valid callback' % student_id)
         referer = request.get('HTTP_REFERER','none')
@@ -133,4 +149,4 @@
     except:
         logger.info('%s no workflow action close' % student_id)
-    
 
+
Index: WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py	(revision 2886)
+++ WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py	(revision 2891)
@@ -106,6 +106,6 @@
     info['status'] = 'paid'
     info['session_id'] = student_record.session
-    info['target'] = student_record.course
-    info['subject'] = 'schoolfee'
+    info['item'] = student_record.course
+    info['category'] = 'schoolfee'
     info['resp_code'] = "SC"
     info['resp_desc'] = "SC Payment Successful"
Index: WAeUP_SRP/base/skins/waeup_epayment/pay_interswitch_acco.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_epayment/pay_interswitch_acco.py	(revision 2886)
+++ WAeUP_SRP/base/skins/waeup_epayment/pay_interswitch_acco.py	(revision 2891)
@@ -19,5 +19,5 @@
 from urllib import urlencode
 import logging
-logger = logging.getLogger('Skins.pay_interswitch')
+logger = logging.getLogger('Skins.pay_interswitch_acco')
 import DateTime
 
@@ -75,4 +75,5 @@
 info['student_id'] = student_id
 info['student_name'] = student_record.name
+info['session_id'] = student_record.session
 info['student_email'] = student_record.email
 info['date'] = now
@@ -105,5 +106,5 @@
                                                       payment_id)
 
-logger.info('%(student_id)s initiated %(description)s payment with order_id %(order_id)s and callback url %(callback_url)s' % info)
+logger.info('%(student_id)s initiated %(type_description)s payment with order_id %(order_id)s and callback url %(callback_url)s' % info)
 payment_fields = (('product_id','site_id'),
                   ('site_name','site_name'),
Index: WAeUP_SRP/base/skins/waeup_epayment/payment_receipt.pt
===================================================================
--- WAeUP_SRP/base/skins/waeup_epayment/payment_receipt.pt	(revision 2886)
+++ WAeUP_SRP/base/skins/waeup_epayment/payment_receipt.pt	(revision 2891)
@@ -20,5 +20,5 @@
         </tr>        
         <tr>
-          <td>JAMB Registration Number:</td>
+          <td>Registration Number:</td>
           <td tal:content="student/jamb_reg_no" />
         </tr>           
Index: WAeUP_SRP/base/skins/waeup_epayment/simulate_callback.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_epayment/simulate_callback.py	(revision 2886)
+++ WAeUP_SRP/base/skins/waeup_epayment/simulate_callback.py	(revision 2891)
@@ -13,5 +13,5 @@
 current = DateTime.DateTime()
 pr = context.portal_registration
-logger = logging.getLogger('EPayment.Simulate')
+logger = logging.getLogger('Skins.simulate_callback')
 
 args = {}
@@ -24,5 +24,5 @@
 #set_trace()
 #url = "%s" % (context.absolute_url())
-raw_url = REQUEST.get("site_redirect_url") 
+raw_url = REQUEST.get("site_redirect_url")
 url = "%s&%s" % (raw_url,urlencode(args))
 return REQUEST.RESPONSE.redirect(url)
