|motio||# Posted on May 9, 2018 at 3:28 pm|
Okay, I see. I understand that is not intended for that purpose but it’s an quick workaround.
The best way would be to add a message group/type like the html receipt that is designed for this purpose.
The most efficient way would be to add a php file that gets information of an event through the get-method and than use dompdf directly to get what I am trying to do.
I know that my approach is a workaround and not the most elegant way but it is in the reach of my capabilities. With that approach I only need a transaction token and I can use the backend of EE to create a template for that. With some custom shortcodes I get all the info that I need. The code isn’t probably not as efficient as it could be.
I was just wondering if there is a downside to that and if there is a good reason why I shouldn’t do that.