Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py	(revision 8744)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py	(revision 8745)
@@ -312,5 +312,5 @@
     """
 
-    def loggerInfo(ob_class, comment):
+    def writeLogMessage(view, comment):
         """Adds an INFO message to the log file
         """
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 8744)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py	(revision 8745)
@@ -26,5 +26,4 @@
 from waeup.kofa.interfaces import RETURNING, IKofaUtils
 from waeup.kofa.utils.helpers import to_timezone
-from waeup.kofa.students.browser import write_log_message
 from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent
 from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant
@@ -189,6 +188,6 @@
             return
 
-        student = self.student = self.context.getStudent()
-        certificate = getattr(self.student['studycourse'],'certificate',None)
+        student = self.student = self.context.student
+        certificate = getattr(student['studycourse'],'certificate',None)
         self.amount_auth = 100 * self.context.amount_auth
         xmldict = {}
@@ -298,7 +297,7 @@
             self.flash(_('This ticket has already been paid.'))
             return
-        student = self.context.getStudent()
+        student = self.context.student
         success, msg, log = query_interswitch(self.context)
-        student.loggerInfo(ob_class, log)
+        student.writeLogMessage(self, log)
         if not success:
             self.flash(msg)
@@ -306,5 +305,5 @@
         success, msg, log = self.context.doAfterStudentPayment()
         if log is not None:
-            student.loggerInfo(ob_class, log)
+            student.writeLogMessage(self, log)
         self.flash(msg)
         return
@@ -322,5 +321,4 @@
 
     def update(self):
-        ob_class = self.__implemented__.__name__
         if self.context.p_state == 'paid':
             self.flash(_('This ticket has already been paid.'))
@@ -328,5 +326,5 @@
         applicant = self.context.__parent__
         success, msg, log = query_interswitch(self.context)
-        applicant.loggerInfo(ob_class, log)
+        applicant.writeLogMessage(self, log)
         if not success:
             self.flash(msg)
@@ -334,5 +332,5 @@
         success, msg, log = self.context.doAfterApplicantPayment()
         if log is not None:
-            applicant.loggerInfo(ob_class, log)
+            applicant.writeLogMessage(self, log)
         self.flash(msg)
         return
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py	(revision 8744)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py	(revision 8745)
@@ -43,5 +43,6 @@
         return
 
-    def getStudent(self):
+    @property
+    def student(self):
         return self.__parent__.__parent__
 
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/students/studycourse.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/students/studycourse.py	(revision 8744)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/students/studycourse.py	(revision 8745)
@@ -38,5 +38,5 @@
     @property
     def next_session_allowed(self):
-        state = self.getStudent().state
+        state = self.student.state
         certificate = getattr(self, 'certificate', None)
         if certificate == None:
