Record status changes for payments. Closes #785