Edit Transaction #1381

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