Changeset 2926
- Timestamp:
- 12 Dec 2007, 21:50:08 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Payment.py
r2925 r2926 74 74 def updatePayment(self,student_record,force=None): 75 75 doc = self.getContent() 76 if getattr(doc,'status',None) and not force: 76 status = getattr(doc,'status',None) 77 if status and status != 'started' and not force: 77 78 return 78 79 wftool = self.portal_workflow … … 104 105 if doc.resp_code in ("00","IP","AP"): 105 106 p_status = "paid" 106 break107 107 elif doc.resp_code == '': 108 108 p_status = "started" … … 110 110 p_status = "failed" 111 111 # don't set order_id it is already correct 112 113 112 break 114 113 d['type'] = p_type # scratch card -
WAeUP_SRP/base/WAeUPTables.py
r2911 r2926 1468 1468 modified = True 1469 1469 except KeyError: 1470 logger = logging.getLogger('WAeUPTables.PaymentsCatalog.%s' % self.__name__) 1471 logger.info("could not modify entry for %(student_id)s with %(order_id)s" % data) 1470 #logger = logging.getLogger('WAeUPTables.PaymentsCatalog.%s' % self.__name__) 1471 #logger.info("could not modify entry for %(student_id)s with %(order_id)s" % data) 1472 pass 1472 1473 if not modified: 1473 1474 try:
Note: See TracChangeset for help on using the changeset viewer.