Allow a cancelled order to be marked paid, if there is a payment delay

Closes #6810