Hello, we just found out that the whole block with the registration_date and TXN-ID and Registration_Code disappears when the Invoice is downloaded via the download button.
How to prevent that?
DOMPDF (which Event Espresso uses to generate the PDF’s is much less forgiving for invalid HTML that is passed to it and will simply ignore it (or throw a fatal error)
The invoice looks like it has been modified, so you’ll need to go through your invoice template and check all of the HTML there is valid. Browser will often try and display invalid markup correctly which is why you see it in the browser, also DOMPDF may consider something invalid which your browser considers acceptable.
Basically it looks like DOMPDF has a problem with the HTML you invoice is passing to it.
Thank you!
I checked the two HTML codes and in the invoice there was a height and width set for the table. Kicked that out and that helped.
Works fine now!
The support post ‘Invoice date disappears when downloaded’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.