How to save the transaction ID next to other submitted data?