Index: /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 17746)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 17747)
@@ -61,4 +61,14 @@
     https = HTTPS
     api_key = API_KEY
+
+    def update(self):
+        super(CustomRemitaVerifyPaymentStatusPageStudent, self).update()
+        # Repair: Uniben allows also previous session students to book a bed
+        if self.context.p_category == 'bed_allocation' and self.context.p_state == 'paid' and self.context.ac == None:
+            flashtype, msg, log = self.context.doAfterStudentPayment()
+            if log is not None:
+                self.context.student.writeLogMessage(self, log)
+            self.flash(msg, type=flashtype)
+        return
 
 class CustomRemitaPageStudent(RemitaPageStudent):
@@ -255,14 +265,4 @@
         return
 
-class CustomRemitaRequestPaymentStatusPageApplicant(
-    RemitaRequestPaymentStatusPageApplicant):
-    """ Request webservice view for the Remita gateway.
-    """
-
-    merchantId = MERCHANTID
-    host = HOST
-    https = HTTPS
-    api_key = API_KEY
-
 class CustomRemitaVerifyPaymentStatusPageApplicant(
     RemitaVerifyPaymentStatusPageApplicant):
Index: /main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py	(revision 17746)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py	(revision 17747)
@@ -55,4 +55,9 @@
             if error is not None:
                 return 'danger', error, error
+        # Uniben allows also previous session students to book a bed
+        if self.p_category == 'bed_allocation':
+            error = self.redeemTicket()
+            if error is not None:
+                return 'danger', error, error
         log = 'successful %s payment: %s' % (self.p_category, self.p_id)
         msg = _('Payment successfully completed')
