Support

Home Forums Ticketing Add-on PDF ticket email facility – Request for development

PDF ticket email facility – Request for development

Posted: October 16, 2017 at 4:36 am


Craig

October 16, 2017 at 4:36 am

Dear Event Espresso friends,

I have used Event Espresso for some years and most recently to manage ticketing for 2,500 guests for 10 events.

Using Event Espresso 4 (Core Regular v4.9.48.p) with EE4 Printable Tickets Add-on (v1.0.5.p) and EE4 Ticket Scanning Add-on (v1.0.11.p) we have encountered an inherent error many times, also noted by other users on the forums.

Some customers are not able to view their tickets online and the link in the email simply redirects them to the root page of my site instead. This error occurs sporadically and we believe the fundamental cause is customers using older versions of browsers. This is out of our control, so we are seeking a solution to consistently enable customers to download tickets.

Suggest Event Espresso develop functionality to facilitate emailing tickets to customers as pdf attachments.

I wish to use Event Espresso for another big event series in 2018 and would appreciate development of this facility please.

My system details:

WordPress Version: 4.8.2
PHP Version: 5.4.16
MySQL Version: 5.6.12
Event Espresso Version: 4.9.44.p
WordPress Address (URL): https://www.blackevents.com.au
Site address (URL): https://www.blackevents.com.au

Regards and thanks,

Tyson Stelzer.


Tony

  • Support Staff

October 16, 2017 at 1:27 pm

Hi Tyson,

I can log your request, however, note that we work on features with the most requests on our roadmap here:

https://trello.com/b/zg9DCIpe/event-espresso-public-roadmap

There is a card specifically for allowing PDF’s to be generated server side (which is half of the requirements for this feature) here:

https://trello.com/c/E16IyRDd/149-allow-users-to-download-a-pdf-version-of-their-tickets-directly-without-using-the-browser-print-function

We also have our own direction for the plugin but use the above to help guide that towards what our users are requesting. So requesting a feature doesn’t necessarily mean it will be included, or if it is, within a timeframe that will suit.

If the above is vital for your events you may want to consider sponsoring the development of this feature:

https://eventespresso.com/about/philosophy/#sponsored-development

Or you could also hire your own developer to add this feature for you, we have a list of developers familiar with Event Espresso here:

https://eventespresso.com/developers/event-espresso-pros/

Some customers are not able to view their tickets online and the link in the email simply redirects them to the root page of my site instead. This error occurs sporadically and we believe the fundamental cause is customers using older versions of browsers.

So if you view the very same URL in your browser, does it load correctly?

Is it only failing to load for the custom themselves?

Do you have an example URL I can view in various browsers to reproduce?


Josh

  • Support Staff

October 16, 2017 at 1:47 pm

Along with the above, if you can share some data that includes which versions of older browsers seem to not be able to download a PDF we can investigate further.


Craig

October 16, 2017 at 6:28 pm

Hi Tony and Josh,

Many thanks for your prompt responses and thorough explanations. This makes good sense. We will look into the development options that you have proposed.

Thanks also for offering to look into the errors we’re having with customers viewing the tickets in their browsers.

If we click the link to the ticket in the email they were sent we can see the ticket in our browser, but they can’t see it in theirs.

Here is an example of such a link in an email:

https://www.blackevents.com.au/?ee=ee-txn-tickets-url&token=1-43b93163b06dbea78f54fb73bef05a60

If we then go into Event Espresso and click “Display Ticket for Registration” next to their registration and email them this link they can then open this link in their browser. The link that matches the above link is this one:

https://www.blackevents.com.au/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=ticketing&context=registrant&token=1-43b93163b06dbea78f54fb73bef05a60&GRP_ID=15&id=0

I’m not sure of which browsers and versions were the miscreants in this instance sorry.

Thanks again for your help with this.

My team and I love Event Espresso and it has made managing tickets for our big events much more manageable. Love your work!

Cheers, Tyson.


Tony

  • Support Staff

October 17, 2017 at 3:44 am

I tested first link with IE 7 (emulated) through to Edge, Chrome and Firefox and didn’t have any problem loading the content.

If one of those links works but the other doesn’t then it sounds like the issue is not the browser as they both load the same content, also if it was a browser issue I would expect the content of the ticket to be broken rather than the user seeing the home page. Viewing the home page would point to something happening on the site itself rather than within the browser.

The above link is for a ticket in your name, I’m guessing that ticket was not tested by a user that could not see it?

Do you have a real example of a ticket that would not load?


Craig

October 21, 2017 at 10:49 pm

Hi Tony,

Many thanks for your reply. I’ve tracked down an example of a miscreant ticket for you to check.

This is the link to download the ticket that Event Espresso sent in the email to the customer in March of this year:

https://www.blackevents.com.au/?ee=ee-txn-=tickets-url&token=1-843511a43f2fb040b1cf06721a2ec294

When I click on this link, it takes me to the main page of my site rather than to the ticket. This appears to be the same error that the customer experienced.

When I then go into Event Espresso and click “Display Ticket for Registration” next to their registration and email them this link they can then open this link in their browser. This link works for me in the same way also. The link for the same ticket as the above link is this one:

https://www.blackevents.com.au/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=ticketing&context=registrant&token=1-843511a43f2fb040b1cf06721a2ec294&GRP_ID=15&id=0

From some 2,000 tickets that we issued for our events in August we saw this error replicated maybe a couple of hundred times, which made for an onerous task to email the correct link to everyone who experienced the error.

Your assistance in resolving this would be most appreciated.

Cheers and thanks,

Tyson.


Tony

  • Support Staff

October 23, 2017 at 5:40 am

Hi Tyson,

Ok, so this doesn’t look like a browser issue.

Is that link copied and pasted directly?

If so, it’s incorrect and that’s why your getting directed back to your home page:

https://www.blackevents.com.au/?ee=ee-txn-=tickets-url&token=1-843511a43f2fb040b1cf06721a2ec294

This part:

ee-txn-=tickets-url

There’s an additional = in there, removing that works fine.

Are you using a custom ticket/ticket notice template or the default one?


Craig

October 23, 2017 at 4:36 pm

Thanks Tony!

We have used a custom ticket template, but as for the extra ‘=‘, the URL is simply output using the built in variable ‘[TXN_TICKETS_APPROVED_URL]’. This comes from the plugins core code, and the code has not been modified in any way.

Cheers and thanks,

Tyson.


Josh

  • Support Staff

October 23, 2017 at 5:06 pm

Hi Tyson,

Are you sure about where that extra = is originating from? Here’s the relevant code from the ticketing add-on:

'ee' => $approved_only ? 'ee-txn-tickets-approved-url' : 'ee-txn-tickets-url',

see also:
https://github.com/eventespresso/eea-ticketing/blob/master/EED_Ticketing.module.php#L768

This may be an indication of a plugin conflict or something else on your server that’s adding the extra =.

The support post ‘PDF ticket email facility – Request for development’ 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