Index: /WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py
===================================================================
--- /WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py	(revision 2942)
+++ /WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py	(revision 2943)
@@ -43,5 +43,5 @@
 student = getattr(students,student_id)
 student_record = context.students_catalog.getRecordByKey(student_id)
-context['updatePayments']()
+#context['updatePayments']()
 payments = []
 
@@ -89,5 +89,5 @@
         row['is_approvable'] = is_so and (review_state == "opened") and info['review_state'] in ('cleared_and_validated','returning')
     else:
-        row['is_approvable'] = is_so and (review_state == "opened")
+        row['is_approvable'] = False    # is_so and (review_state == "opened")
     row['is_requeryable'] = False
     #set_trace()
@@ -105,4 +105,15 @@
             href += '&redirectURL=%(callback_url)s' % row
             row['href'] = href
+    elif so_doc.type_description.startswith('Hostel'):
+        if (review_state == 'opened' and \
+                                  hasattr(so_doc, 'order_id') and not so_doc.resp_code) or str(member) in ('admin',):
+            row['is_requeryable'] = True
+            row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
+                                                            so.getId)
+            href = '%(query_url)s' % info
+            href += '?transRef=%(trans_ref)s' % row
+            href += '&prodID=%(prod_id)s' % info
+            href += '&redirectURL=%(callback_url)s' % row
+            row['href'] = href              
     if (review_state == "closed") and so_doc.resp_code in ('SC','00','AP','IP',):
         row['confirmed'] = 'active'
