Posted: 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. |
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.
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. |
|
|
Hi Tony, |
|
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. |
|
Awesome Sidney, thanks. I’ll give it a shot and report back. |
|
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. |
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. |
|
|
OK, thanks Tony, I wasnt sure how to hide them apart from making them Private. |
|
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 |
|
Hey guys thanks heaps. I just discovered a plugin called exclude-pages which does this too. I can now tick off another customization!! Done. |
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.