Edit Transaction #1699

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