I would like to generate some custom PDF after the checkout complete step and have implemented some custom service and controller for this. For generating this PDF I use some data of the order. Is it a good practice to use the order id and order tokenValue to retrieve the specific order data? What’s the idea of this order tokenValue? Will this token stay in the database or will it be reset/removed some time later?
Thanks for your inputs!