Edit Transaction #1334

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