Support

Home Forums Event Espresso Premium Link to registration success in an email notification

Link to registration success in an email notification

Posted: December 15, 2014 at 12:52 pm


Clare Cable

December 15, 2014 at 12:52 pm

Is there no email message shortcode that will take the user to the successful registration page? That’s the only place where the offline payment gateway instructions can be retrieved.

I have found [PAYMENT_URL] and [FRONTEND_EDIT_REG_LINK], which eventually land the user there. But I don’t want them to be able to change their payment method type. And if they are looking for payment details they will bounce off the page which shows them attendee details for editing.

Am I missing something? This seems like the most obvious link to put into the email: the one with all of their confirmation details and payment instructions.


Lorenzo Orlando Caum

  • Support Staff

December 15, 2014 at 1:46 pm

Hi, this is currently handled by [PAYMENT_URL] which is included in the registration pending payment message type.

That message type can be edited to remove that shortcode and you could add the offline payment instructions there and save changes.


Lorenzo


Clare Cable

December 15, 2014 at 2:06 pm

This won’t work for me because I do not want the user to be presented with an option to change their payment details. And I can’t just type out payment instructions in the message template because they are contingent on registration details — in particular, I generate a payment reference number from the registration code so that bank/cheque payments can be quickly applied to the appropriate registration.

I’ve managed to push in a lot of customisations to the checkout process without touching the plugin code, so that my client can upgrade properly in the future. I’d really hate to stumble at the last hurdle and have to hack the actual plugin code just to render a custom shortcode in a message template.

Is there any documentation available about creating a custom message notification and sending it with a particular event?


Lorenzo Orlando Caum

  • Support Staff

December 15, 2014 at 2:26 pm

Sure, go to Event Espresso –> Messages.

Then locate the Registration Pending Payment Message type. Towards the right side of the page, you’ll see a create custom button. Click on it and this will take you to the messages editor.

Select primary registrant as the recipient and switch. Then when the page re-loads, enter an updated title:

http://cl.ly/image/081M2q2E103a

Then you can edit the remainder of this custom message type and save changes.

From here, you can go to the specific event in the event editor and scroll down to the bottom of the page. Then look for Registration Pending payment for the message type and select your new custom template to switch if off global templates. Then save changes through the event editor.

This custom message type will then be used for only this event.


Lorenzo


Clare Cable

December 15, 2014 at 2:46 pm

Sorry, that was poorly communicated on my behalf. I shouldn’t have used the word “event”. What I mean is this: presumably the messages notification system was designed to be extended. Is there any system for third-party addons to send a custom notification whenever a specific thing (“event”) happens during the registration process? Ideally, there would be some way to register a custom message to send when a registration is made, and I would have more control over the content of that message, rather than just the HTML editor and predefined shortcodes.


Clare Cable

December 15, 2014 at 3:25 pm

Ok, I think I have come up with a workaround. I will print the payment instructions directly on the invoice template, where I have access to all the $template_args, then link to the Invoice URL in the confirmation email.


Dean

December 16, 2014 at 12:14 am

Hi Clare,

The messaging system is still being tweaked and fine tuned. Currently custom messages like that are only really possible via the hooks and wp_mail.

There will be a system for sending custom notifications, but currently it is only available from 4.5 onwards and we haven’t got any documentation for it as yet.

The support post ‘Link to registration success in an email notification’ 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