Edit Transaction #1045

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