Support

Home Forums Event Espresso Premium White page on all attendees tickets links

White page on all attendees tickets links

Posted: September 17, 2021 at 2:39 am


ComedieTriomphe

September 17, 2021 at 2:39 am

Hey there,

For the past two days, when someone buy a ticket on our website and follows the link they receive into their email to display the ticket, it leads them to a page which is entirely white.
The tickets are accessible as they should from the registration backend, as well as within displaying the messages from WP’s backend and following the link of the displayed email.

Error message in the console:
image

Here is the link I go to when clicking in the email:
https://www.comedietriomphe.fr/?_se=ci5qb2FubnlAbGl2ZS5mcg%3D%3D&ee=ee-txn-tickets-approved-url&amp%3Btoken=1-691de9250df1734aa28122160fe2768d

What is going on?

Thanks!

J


Tony

  • Support Staff

September 17, 2021 at 4:36 am

Hi there,

What are you using to send emails from the site?

The problem is with the encoding of the ticket URL, as it’s happening on the email and not within the admin this points to it likely being an issue from the either the wp_mail() function/hook or the mail server itself.

When you look at this link:

https://www.comedietriomphe.fr/?_se=ci5qb2FubnlAbGl2ZS5mcg%3D%3D&ee=ee-txn-tickets-approved-url&amp%3Btoken=1-691de9250df1734aa28122160fe2768d

Break that down it becomes:

?_se=ci5qb2FubnlAbGl2ZS5mcg%3D%3D is not from Event Espresso at all.

&ee=ee-txn-tickets-approved-url is from event espresso and is correct.

&amp%3Btoken=1-691de9250df1734aa28122160fe2768d so, this is from Event Espresso, but something has messed up the encoding here.

This should be just:

&token=1-691de9250df1734aa28122160fe2768d

But (from what I can see) something has escaped and then encoded the link, meaning the & is escaped to become & which then gets encoded as &amp%3B which isn’t valid.

Event Espresso doesn’t do the above, so something else is jumping in and doing this specifically within the emails

With the encoding that URL becomes:

https://www.comedietriomphe.fr/?_se=ci5qb2FubnlAbGl2ZS5mcg==&ee=ee-txn-tickets-approved-url&token=1-691de9250df1734aa28122160fe2768d

Note how it works, I’ve done nothing more than fix the URL encoding on that link.

The support post ‘White page on all attendees tickets links’ 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.

Event Espresso