Edit Transaction #2217

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