Support

Home Forums Event Espresso Premium Registration Confirmation emails – to be sent after 'Complete Your Registration'

Registration Confirmation emails – to be sent after 'Complete Your Registration'

Posted: January 24, 2014 at 10:55 pm

Viewing 9 reply threads


Paul Miller

January 24, 2014 at 10:55 pm

Hi there,

We have 2 payment choices for our events, Paypal and Invoice. I’m wondering how to make the registration confirmation emails ONLY be sent either after a Paypal payment has been made, OR when the client has selected the Invoice payment method and clicked on “Complete Your Registration”.

I saw a similar thread for someone wanting to do this for the cheque gateway option and there was a line of code to be added to make this work.

I know at present Invoices can be set up to be sent pre payment but a customer may back out of a registration before the payment part and still be sent the confirmation email – they would also then show up in our database as being registered, which is unwanted. Appreciate your help once again.


Tony

  • Support Staff

January 27, 2014 at 2:46 am

Hi Paul,

If you go to Event Espresso -> General Settings. You can set ‘Send registration confirmation emails before payment is received?’ to No which will hold the confirmation emails until payment is made.

I know at present Invoices can be set up to be sent pre payment but a customer may back out of a registration before the payment part and still be sent the confirmation email – they would also then show up in our database as being registered, which is unwanted.

Although the confirmation emails can be sent before payment, the registration is set to Incomplete until payment is made (incomplete registrations do NOT count towards the attendee list)

Only Pending and Complete registrations count towards the event attendee list.


Paul Miller

January 27, 2014 at 4:16 am

Hi Tony,
Thanks for the reply, I know I can turn off the confirmation email being sent prior to payment, but in our case most of our payments are offline (invoice) so I do need this option enabled. What I am hoping is that I can change it to send to the attendee after they had completed registration, not after they hit submit on the first page. Hope that makes sense, thanks.


Sidney Harrell

January 27, 2014 at 10:13 am

It’s a little different for the invoice than for the check gateway. I put together some code for it in a github gist, which I will post below. Note that there are two sections which I documented in the comments of the gist. The first needs to be added to the end of the invoice/init.php file, and the second that you’ll need to create a new file for, invoice/invoice_ipn.php. Don’t forget to add the opening php tag at the top of that new file, then paste in the chunk of code from the gist.


Paul Miller

January 27, 2014 at 2:26 pm

Awesome Sidney, thanks. I’ll give it a shot and report back.


Paul Miller

January 27, 2014 at 11:08 pm

OK, I’m now getting the error message saying something like nothing was found from this location after I hit Complete Registration. The standard Thank You page doesnt load – help! I tried putting the old files back and same thing.


Tony

  • Support Staff

January 28, 2014 at 5:08 am

Hi Paul,

You sent login details for another thread, so I took a look at this also.

The reason this is happening is the Event Espresso core pages have been made Private. The pages with Event Espresso core shortcodes need to be published publicly in order for EE to work correctly.

You can hide these pages from view by removing them from the navigation menus, but they must be publicly accessible.

If you change the ‘Thank-you’, ‘Transactions’ & ‘Registration-cancelled’ pages to be public this should then work.


Paul Miller

January 28, 2014 at 5:12 am

OK, thanks Tony, I wasnt sure how to hide them apart from making them Private.


Dean

January 28, 2014 at 6:30 am

Custom menus! These basically mean you can select what to show on your menu and what not to show. Most decent themes support this feature, as it has been around since WP 3.1 (there abouts).

Here’s a link http://codex.wordpress.org/Appearance_Menus_Screen


Paul Miller

January 28, 2014 at 4:50 pm

Hey guys thanks heaps. I just discovered a plugin called exclude-pages which does this too. I can now tick off another customization!! Done.

Viewing 9 reply threads

The support post ‘Registration Confirmation emails – to be sent after 'Complete Your Registration'’ 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