Changeset 2890 for WAeUP_SRP/fceokene/waeup_custom
- Timestamp:
- 8 Dec 2007, 17:44:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py
r2871 r2890 14 14 15 15 mtool = context.portal_membership 16 member = mtool.getAuthenticatedMember() 16 17 if mtool.isAnonymousUser(): 17 18 return None … … 94 95 row['trans_ref'] = getattr(so_doc,'order_id','') 95 96 if so_doc.type_description.startswith('School Fee'): 96 if review_state == 'opened' and info['review_state'] in ('cleared_and_validated','returning') and hasattr(so_doc, 'order_id') and not so_doc.resp_code: 97 if (review_state == 'opened' and info['review_state'] in ('cleared_and_validated','returning') and \ 98 hasattr(so_doc, 'order_id') and not so_doc.resp_code) or str(member) in ('admin','gbenga','isouaba'): 97 99 row['is_requeryable'] = True 98 100 row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
Note: See TracChangeset for help on using the changeset viewer.