Ignore:
Timestamp:
6 Feb 2022, 22:01:22 (3 years ago)
Author:
Henrik Bettermann
Message:

Redirect after Plagiarism Test payment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py

    r16606 r16782  
    4343    https = HTTPS
    4444    api_key = API_KEY
     45
     46    def render(self):
     47        if self.context.p_category == 'plag_test'\
     48            and self.context.p_state  == 'paid':
     49            self.redirect(self.url(self.context, 'plagtestinfo'))
     50        else:
     51            self.redirect(self.url(self.context, '@@index'))
     52        return
    4553
    4654class CustomRemitaVerifyPaymentStatusPageStudent(
Note: See TracChangeset for help on using the changeset viewer.