You will need to be checking for a date of payment against a due date.