Posted: October 3, 2022 at 8:18 pm
Hello We have the latest EE4. We are hoping to be able to send an automatic email with webinar login details to people registering for an event – the automatic email would be sent once payment is completed. We could do this by including the webinar login details in the Payment Received email sent out by EE. However where you have multiple people on one registration, this Payment Received email only seems to get sent to the Primary Attendee. Further if the Primary Attendee registers for one event and the others on the registration register for a different event, the Primary Attendee would only get the email with webinar login details for the event the Primary Attendee is registered for (webinar login details would be different for other events). Hoping there is a way we can do this – we would want the email sending to be automated on payment, rather than having to send an email manually. Regards, Joe |
|
What about using the Registration Approved for the Registrant context? |
|
Hi Garth We actually set all registrations to approved by default (we want all attendees to get an email on registration rather than just the primary attendee). So currently the attendees would get the registration approved email (without webinar login details). Once they pay (some by by credit card, some by bank transfer later etc), we would want them to get another email with the webinar login details. Hoping there is a work-around here. We could set all registrations to pending payment, but only if there was a way to get all registrants to received an email on registration and not just the primary attendee. Regards, Joe |
|
PS: so if all registrations were set to payment pending – we would want all registrants to get a general email acknowledging registration, then on payment all registrants on the registration get a registration approved email with the webinar login details |
|
We don’t have the ‘acknowledgement’ type email you are looking to send to each registrant in this context. The reason for that is Event Espresso considers the Primary Registrant to be the person handling the payment for the group so that first email (for the majority of our use cases) would basically be saying something like: “Hey, you’ve been registered onto this event, but you can’t actually do anything yet because we can’t give you a link to pay individual tickets. The primary registrant needs to complete payment for the group for this email to be valid.” If the primary registrant then doesn’t pay for the group, that email was pointless and causes more confusion for the additional registrants/admin. — Now, I understand that is likely NOT the case for your use case based on the above but it’s how EE was intended to be used and so the email setup is based around it. Payment-based emails (like payment received/declined/refunded) again all use the primary registrant because EE is expecting them to be the ones handling payments for the group so you can’t force those to go to all registrants. The only email you can use within EE to send to all registrants when payment has been completed is the Registration Approved email. So to do this within EE right now you would need to skip the ‘general acknowledgement’ email you’ve mentioned so you can use the Reg Approved email for the webinar details. One option you could try is to create your own shortcode for the message system which pulls in the EE_Transaction and checks if the status has been set to complete, if not it returns nothing but if it is complete pull the webinar login information from wherever it is saved (I’m assuming event meta?) and output that to the email content. This would mean you’ll need to manually trigger the Registration Approved message type after payment is complete but allows you to have different content on initial registration to after payment is made. However, not that you’ll need custom code for this working through something like this: https://eventespresso.com/wiki/messages-system-how-to-add-custom-message-shortcodes/ |
|
Many thanks Tony I am hoping that we could do some custom development that adds a second Registration Approved email option to events, with that email triggering on payment. So on payment, each registrant in a group get’s the second email, that email would be different depending on what event they signed up for. The email would also not skip duplicates as the bulk Registration Approved function does, but work as the Registration Approved email does on registration and send to all on the regsitration regardless of duplicates etc. Would the above be possible with EE4 or even EE3? Regards Joe |
|
Not with EE3, but EE4 allows you to hook in and add your own message types. We have some developer documentation on the message system here: https://github.com/eventespresso/event-espresso-core/blob/master/docs/E–Messages-System/ This section adds details on adding your own message types: |
|
Thanks Tony I am guessing it would be a matter of dupicating the “Registration Approved” message type code and tweaking it to trigger on payment? Would we need extra code so it doesn’t skip duplicates? Regards, Joe |
|
* duplicating |
|
Sure, you can use the registration-approved message type as a base to start this development. It’s going to involve a fair amount of custom code for this to work and yes you’ll need some additional tweaks to prevent that message type from skipping registrants using the same email address. |
|
The support post ‘Automatic Email to All Registered on a Registration after Payment’ 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.