Changeset 13042 for main/waeup.kofa/trunk
- Timestamp:
- 12 Jun 2015, 06:54:59 (9 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/students/browser.rst
r13041 r13042 121 121 122 122 Directly 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`). 124 124 125 125 Until 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 72 72 return self.__parent__.__parent__.writeLogMessage(view, message) 73 73 74 def _redeemTicket(self): 74 def redeemTicket(self): 75 """Either create an appropriate access code or trigger an action 76 directly. 77 """ 75 78 student = self.student 76 79 if self.p_category == 'clearance': … … 126 129 """ 127 130 if self.p_current: 128 error = self. _redeemTicket()131 error = self.redeemTicket() 129 132 if error is not None: 130 133 return 'danger', error, error … … 138 141 """ 139 142 if self.p_current: 140 error = self. _redeemTicket()143 error = self.redeemTicket() 141 144 if error is not None: 142 145 return 'danger', error, error
Note: See TracChangeset for help on using the changeset viewer.