Ignore:
Timestamp:
12 Jun 2015, 06:54:59 (9 years ago)
Author:
Henrik Bettermann
Message:

Rename method. Private methods are not found by Sphinx.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/docs/source/userdocs/students/browser.rst

    r13041 r13042  
    121121
    122122Directly after a student payment ticket has been paid - either by approval by an officer or by receiving a positive response from a payment gateway - the
    123 :py:meth:`_redeemTicket<waeup.kofa.students.payments.StudentOnlinePayment.redeemTicket>` method is called. Depending on the category of the payment, usually an appropriate access or activation code is beeing created for the owner of the ticket. This code must be entered on certain form pages to activate a service or to access the next stage of the registration process. In other words, making a payment and redeeming a payment are two different steps. Successful payments do not automatically trigger any action in the portal but create a specifc access code which can be used to trigger access-code-related actions (see :ref:`accesscodes`).
     123:py:meth:`redeemTicket<waeup.kofa.students.payments.StudentOnlinePayment.redeemTicket>` method is called. Depending on the category of the payment, usually an appropriate access or activation code is beeing created for the owner of the ticket. This code must be entered on certain form pages to activate a service or to access the next stage of the registration process. In other words, making a payment and redeeming a payment are two different steps. Successful payments do not automatically trigger any action in the portal but create a specifc access code which can be used to trigger access-code-related actions (see :ref:`accesscodes`).
    124124
    125125Until May 2015 also school fee payments had produced access codes which enabled students to start the next session. Meanwile, Kofa bypasses SFE access code creation if next session can be started directly.
  • main/waeup.kofa/trunk/src/waeup/kofa/students/payments.py

    r12889 r13042  
    7272        return self.__parent__.__parent__.writeLogMessage(view, message)
    7373
    74     def _redeemTicket(self):
     74    def redeemTicket(self):
     75        """Either create an appropriate access code or trigger an action
     76        directly.
     77        """
    7578        student = self.student
    7679        if self.p_category == 'clearance':
     
    126129        """
    127130        if self.p_current:
    128             error = self._redeemTicket()
     131            error = self.redeemTicket()
    129132            if error is not None:
    130133                return 'danger', error, error
     
    138141        """
    139142        if self.p_current:
    140             error = self._redeemTicket()
     143            error = self.redeemTicket()
    141144            if error is not None:
    142145                return 'danger', error, error
Note: See TracChangeset for help on using the changeset viewer.