Ignore:
Timestamp:
9 Aug 2017, 10:03:43 (7 years ago)
Author:
Henrik Bettermann
Message:

Clean up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/webservices.py

    r14781 r14783  
    101101                ticket, self.merchantId, self.api_key,
    102102                rrr, self.host, self.https, False)
     103            if not success:
     104                failed += 1
     105                continue
    103106            if hasattr(ticket, 'doAfterStudentPayment'):
    104107                ticket.student.writeLogMessage(self, log)
    105                 if not success:
    106                     failed += 1
    107                     continue
    108108                successful += 1
    109109                write_payments_log(ticket.student.student_id, ticket)
     
    114114                applicant = ticket.__parent__
    115115                applicant.writeLogMessage(self, log)
    116                 if not success:
    117                     failed += 1
    118                     continue
    119116                successful += 1
    120117                write_payments_log(applicant.applicant_id, ticket)
Note: See TracChangeset for help on using the changeset viewer.