Support

Home Forums Event Espresso Premium NO PDF when clicking "Download PDF"

NO PDF when clicking "Download PDF"

Posted: March 22, 2021 at 7:00 am


bikerausch.de

March 22, 2021 at 7:00 am

Hi,

When I try to click “Download PDF” I only get a HTML file displayed which looks like my start page but rendered totally weird.
It looks like this: https://bikerausch.de/?ee=msg_url_trigger&snd_msgr=pdf&gen_msgr=html&message_type=receipt&context=purchaser&token=1-cbc5fc62b93307f56122af3113876748&GRP_ID=13&id=0

Any help will be great.
Thank you, Mike


Tony

  • Support Staff

March 23, 2021 at 9:59 am

Hi Mike,

In the past, we’ve had reports of issues with the PDF’s when using a PNG for the logo. I downloaded your logo file from the Invoice and tested it on one my installs (worked fine) but in the past, it has worked for me but not on the site I downloaded the PNG from.

Can you test temporarily setting the logo to another image? You can do that in:

Event Espresso -> Payment methods -> Invoice -> Logo Image

Set the logo to use a JPG image and see if the download still fails then.


bikerausch.de

March 23, 2021 at 10:22 am

Hi Tony,

no, it is not working. Sorry. I have tested it.
Cheers, Mike


Tony

  • Support Staff

March 24, 2021 at 7:25 am

Hmm, ok, can I take a look at the message system in the admin to see if anything stands out?

If so you can send temp login details using this form:

https://eventespresso.com/send-login-details/

At a guess, either something isn’t right with the message system or something is blocking the request (could be a mod_sec rule your host has or some security plugin).


bikerausch.de

March 24, 2021 at 7:40 am

Hi Tony,

Thank you for your help. I think there is no Security Plugin Installed for now. Host can be an issue of course. But I can change the settings from the host if you tell me what I have to change.

I will send the login information to you.
Thank you for your help..
Mike


Tony

  • Support Staff

March 24, 2021 at 9:06 am

Looks like you didn’t change the setting I mentioned before in the Invoice settings. The Invoice/Receipt logo was still using a PNG with a transparent background, that’s what is what was causing the PDF’s to fail.

You changed the ‘Company Logo’ setting in Event Espresso -> General Settings to a .jpg

You needed to change the ‘Logo Image’ field in Event Espresso -> Payment methods -> Invoice. That overrides the General Settings option specifically for Invoices and Receipts.

I know you did not have that payment method activated, but I have just activated it and set it so it does not show on the front end using the ‘Usable from’ setting in the payment method. It can now be deactivated again if you prefer but you PDF’s are now working 🙂


bikerausch.de

March 24, 2021 at 10:26 am

Hi Tony… oooohhhhh.. That was really my mistake. Sorry. I did not use Invoice so this was not the part I was looking for. Sorry.

But, there is another issue with the “order confirmation”
I do not know if it is the word in English for that. The invoice PDF is working now. But not the button download PDF order confirmation.

Example:
use this link: https://bikerausch.de/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=receipt&context=purchaser&token=1-c9a4160fe8c00adb70fa21bb384eb9e0&GRP_ID=13&id=15

and click “download PDF” It is not working.

2. Second
When you click “Switch to invoice” and click “download PDF” it is working.
Where can I change this Logo? I think it uses the jpg here.

Sorry for all the issues. I hope this is my last one 😉
Thank you for your great work.

Mike


Tony

  • Support Staff

March 25, 2021 at 3:50 am

But, there is another issue with the “order confirmation”
I do not know if it is the word in English for that. The invoice PDF is working now. But not the button download PDF order confirmation.

The order confirmation is the receipt in EE and that looks like a different issue.

If you check the servers error logs are there any recent errors from Event Espresso?

2. Second
When you click “Switch to invoice” and click “download PDF” it is working.
Where can I change this Logo? I think it uses the jpg here.

The logo image used on the Invoice and Receipt? They both use the ‘Logo Image’ field I mentioned earlier.

The Invoice payment method has the setting for it:

Event Espresso -> Payment methods -> Invoice -> Logo Image

The support post ‘NO PDF when clicking "Download PDF"’ 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.

Do NOT follow this link or you will be banned from the site!