I would like to generate some PDF out of the order data of the customer and I would like to provide this PDF download link at the checkout confirmation step. Do you have any hints/tipps on how to implement this requirement? I have checked the Sylius Plugin list, but haven’t found anything.
My current approach would be:
- Create some custom service class to generate PDF with some library (mpdf, etc.)
- Adapt the Checkout confirmation view adding some link to some PDF generation endpoint with a given order id
What do you think?
Thanks for feedback.