Edit Transaction #1791

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