Support

Home Forums Event Espresso Premium Generate token in batch to get the ticket URL

Generate token in batch to get the ticket URL

Posted: July 3, 2017 at 3:49 pm


jfchatelain

July 3, 2017 at 3:49 pm

Hi,

When we activated the ticketing platform we were not sure if we would create tickets or simply ask at the entrance for and identity card.

My client decided to go with the ticket with QR code.

Since i had not activated that from the beginning, I’m currently trying to figure out how I can send a notification to everyone with the link to print their ticket. I also wanted to know if its possible to display the link to the ticket next to to invoice and receipt in the registration ticket page?

Thanks for your help

Jean-Francois


Tony

  • Support Staff

July 3, 2017 at 4:10 pm

Hi Jean-Francois,

How many registrations is this for? There is an option to ‘resend’ (in you case send) the ticket notice for each registration, but it’s not available in batch so if there are a lot of registrations its not really a viable solution.

However it is possible to add the ticket url to say the Registration Approved message, and then trigger that message in bulk to all users, would that work?

I also wanted to know if its possible to display the link to the ticket next to to invoice and receipt in the registration ticket page?

Can you post a screenshot that shows were you are referring to please?

http://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


jfchatelain

July 3, 2017 at 4:13 pm

Hi Tony, we currently have more then 700 tickets sold.

Triggering a message in bulk could work for us.

I’m reffering to the page that has the shortcode [ESPRESSO_MY_EVENTS].

THanks


Josh

  • Support Staff

July 3, 2017 at 4:25 pm

You can also place the [RECIPIENT_TICKET_URL] shortcode into the Batch message type. The Batch message type is triggered on the Event Espresso > Registrations page where you can check all the boxes, then click on Send Batch Message. Tip: You can load more registrations per page by setting the option in the Screen Options tab.


jfchatelain

July 3, 2017 at 4:29 pm

OK good. Thanks

Is there any way to display the link on the web. We have access to a wordpress PHP developer. Where can I find the token in the DB? That would help us a lot customizing how the user can retreive his or her ticket.

Thanks


Tony

  • Support Staff

July 3, 2017 at 4:40 pm

Ok, so on thinking about this further there is an option to do this with a batch message template. You will need to generate the batches in numbers of say 50 (possibly smaller depending on your server) but it will still be much quicker than manually resending each ticket notice and should also be less confusing to your users as they all won’t then be receiving a dupe ‘Registration Approved’ message.

Go to: Event Espresso -> Messages -> Default Message templates -> Batch.
(you can create a custom template for the bacth message here if you want, I’ll continue to edit the default template but the steps are very similar, the different being you need to click to create a custom template and edit that rather than the default) – http://take.ms/jVN9t

Now within the batch template you want to add the [RECIPIENT_TICKET_URL] shortcode to send the registrant a link to THEIR ticket.

You can switch to text mode and generate a link for example:

<a href="[RECIPIENT_TICKET_URL]">Click here to print your tickets</a>

Like so – http://take.ms/jn9cO

Save the template with any further changes you want to make.

Then go to: Event Espresso -> Events -> {hover over event} -> Registrations.

Now you’ll see a list of registrations for your event, click the checkbox for some of those registrations and click to send a batch message – http://take.ms/kIAJD

Select your template – http://take.ms/1pPdm (in my case it’s the global default template)

And click to send to the selected group, then select the next ‘batch’ and repeat until the template has been triggered for all registrations.

Note that selecting a large group of registrations to generate a batch message for will likely cause a timeout and you won’t know which of those registrations received a message already. Use smaller numbers to prevent that.

Does all of the above make sense? If not please do let me know and I’ll try to help clarify. I’d recommend testing the above on a couple of test registration you add to the event now, just to confirm it all works how you expect before sending to 700~ users.

Iā€™m reffering to the page that has the shortcode [ESPRESSO_MY_EVENTS].

I have previously created a gist that I think does exactly what you are looking for:

https://gist.github.com/Pebblo/e56f98451d1aa0964717


Tony

  • Support Staff

July 3, 2017 at 4:42 pm

Josh replied before I finished the above šŸ™‚ but…

Is there any way to display the link on the web. We have access to a wordpress PHP developer. Where can I find the token in the DB? That would help us a lot customizing how the user can retreive his or her ticket.

The gist I provided above should provide all of the details your developer needs to generate the ticket URL.


jfchatelain

July 3, 2017 at 4:54 pm

This is Great!!! Thanks Tony.

Amazong support as usual.

The support post ‘Generate token in batch to get the ticket URL’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  jfchatelain 2 years, 1 month ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!