Edit Transaction #1667

Update the stored transaction details, linked invoices, and failure reason.