Support

Home Forums Event Espresso Premium Problem sending tickets via email for multiple attendee registrations

Problem sending tickets via email for multiple attendee registrations

Posted: December 13, 2015 at 5:49 am


Nikhil P

December 13, 2015 at 5:49 am

We have set up two separate “events” for the upcoming AAMS conference – one for Platinum (fixed price) and Gold (with early bird discount). We are doing seat allocation manually (one of the reasons being seating chart plug-in makes the registration process clumsy for multiple attendees in one booking). For that, we have created a Question”SeatNo” with “AdminView” only – we add the seat number manually for each attendee via the backend. We have also created a custom ticket to use this. We have started using this for Platinum.
We want to send the ticket manually to each attendee from the “edit payment” admin screen. What we find is that this results in email being sent to each attendee in the group booking (instead of only the particular attendee). This would still be ok except that if any attendees in the group share the same email address, only one of them – probably the last of them – gets their own ticket and others get no email.
Please help. We are using Postmark as you recommended.


Lorenzo Orlando Caum

  • Support Staff

December 14, 2015 at 10:25 am

Hi Nikhil,

Do you see the same this happen when you use the send ticket notice email from the actions menu (left side) of the registrations overview screen?

http://cl.ly/370h2C2M3r2e


Lorenzo


Nikhil P

December 17, 2015 at 4:49 pm

I am not sure how to get to this action menu? None of our pages seem to have action menu on the left hand side.
Please note that we are using EE3.
BY “registrations overview” screen, do you mean “Attendee Report”? There is an action menu for each attendee only on the right side and it has option to view ticket but no option to “send” ticket email.


Tony

  • Support Staff

December 18, 2015 at 6:21 am

Hi Nikhil,

The image provided by Lornezo above is from EE4, so you won’t find that with EE3.

So to confirm are you sending the email using this section – http://take.ms/yF23n

With a group booking, you want to update all of the group with their seats, then send and email to each person within that group with the ticket? If a user uses the same for multiple (or all) attendees they should still receive an email for those duplicate email address, correct?


Nikhil P

December 18, 2015 at 1:09 pm

Hi Tony,
a) You are correct – we are using the invoice/payment reminder section. We have created a custom email to send ticket details which is what we select and then click on “send invoice” button.
b) You are correct again. We update the seats and then want a separate ticket email issued individually for each person in the groups booking whether they have separate email addresses or common. This works automatically (with just one send) as long as each sub-attendee has a separate email address i.e. we do not need to click “send invoice” for each attendee. However, if email address is common, only one of them get their ticket (and which one of them seems to be random and it is not the primary person who did the booking.) and that is even if we try sending email separately for each attendee.
If you can help resolve this please.


Josh

  • Support Staff

December 21, 2015 at 12:18 pm

Hi Nikhil,

Instead of using the Send payment reminder feature, you can use the send email action right from the attendee list table. This will send an email to each registrant in the group. If the admin only seat assignment question has a value, it can be passed to the email where you include the [custom_questions] shortcode in the email. You’ll need to load in this custom function *before the EE plugin loads* to make sure it includes the value of an admin question. One place that EE3 checks for functions first is within the /wp-content/uploads/espresso/functions.php file. Or you can load it into your own custom functions plugin and as long as its folder name starts with a-eu it will load before EE does.


Nikhil P

December 22, 2015 at 3:07 am

Hi Josh,
The send email action from the attendees table is the “resend registration email” action and sends the default registration email without giving a choice. We do not want to include the seat number in the standard registration email as the seat is assigned after payment is received while the registration email is set to be sent before payment is received. Is there another button that we are missing?


Josh

  • Support Staff

December 22, 2015 at 8:41 am

Hi there,

No there isn’t a button you are missing. Here’s how this can work for you. When the initial automatic standard registration email goes out, they don’t have a seat assignment yet, so that part of the email isn’t included. Then, after they pay, and after you assign them a seat by filling out the admin only question, when you resend that email, it will automatically include the seat assignment info where you include the [custom_questions] shortcode in the email.


Nikhil P

December 23, 2015 at 2:34 pm

Hi Josh,
Thanks, but for the email with ticket, we have a separate template which includes payment receipt confirmation, seat number, ticket download link, QR code, venue details etc. as we intend to use scanning using smartphones at the venue (about 1000 attendees). We will then need to hide all this info from each of the first registration email? I am not sure how we can do that?


Josh

  • Support Staff

December 23, 2015 at 3:46 pm

Do you have a PHP developer on your team?


Nikhil P

December 23, 2015 at 11:59 pm

No – hobbyist only.


Josh

  • Support Staff

December 24, 2015 at 11:41 am

Hi Nikhil,

The tricky part that you’re running into is the payment reminder function was intended to be sent to the primary attendee. That said, many of the email functions in Event Espresso 3 are pluggable, which means they can be overridden. Here’s an example of the code you’ll need to change it so it will automatically send the payment reminder/invoice email to each of the attendees in a group registration:

https://gist.github.com/joshfeck/f42429f93f12d38e933e

You can add the above to a functions plugin that loads before Event Espresso core or into /wp-content/uploads/espresso/custom_functions.php


Nikhil P

December 24, 2015 at 12:19 pm

Thanks Josh – will try that out.
I am assuming that should work with using the custom email we have created – can you please confirm (as being a live event, it would be good to know before I try).
Have a great Christmas,
Regards


Josh

  • Support Staff

December 24, 2015 at 12:30 pm

I recommend testing things out before you go live with the code. I tested the code on my system and verified it works, but I cannot guarantee that my site has everything set up exactly the same as your site.


Nikhil P

December 24, 2015 at 2:32 pm

Ok, Thanks.

The support post ‘Problem sending tickets via email for multiple attendee registrations’ 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