Edit Transaction #1666

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