Index: WAeUP_SRP/trunk/skins/waeup_epayment/approve_epayment.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_epayment/approve_epayment.py	(revision 5592)
+++ WAeUP_SRP/trunk/skins/waeup_epayment/approve_epayment.py	(revision 5594)
@@ -33,11 +33,4 @@
 session = s_brain.session
 
-next_info = context.getNextInfo(s_brain)
-next_session_id = next_info['next_session_id']
-next_session_str = next_info['next_session_str']
-next_level_id = next_info['next_level_id']
-next_transition = next_info['next_transition']
-next_verdict = next_info['next_verdict']
-
 pd = {}
 doc = context.getContent()
@@ -48,4 +41,10 @@
 
 if doc.category == 'schoolfee':
+    next_info = context.getNextInfo(s_brain)
+    next_session_id = next_info['next_session_id']
+    next_session_str = next_info['next_session_str']
+    next_level_id = next_info['next_level_id']
+    next_transition = next_info['next_transition']
+    next_verdict = next_info['next_verdict']    
     study_course = getattr(student,'study_course')
     try:
