Support

Home Forums Event Espresso Premium Thank You/Payment Overview page not linking to alternate registration URL

Thank You/Payment Overview page not linking to alternate registration URL

Posted: November 4, 2013 at 12:28 am

Viewing 11 reply threads


infosolwebadmin

November 4, 2013 at 12:28 am

Just noticed that if you register for an event with an alternate registration URL and follow the ‘view your payment details’ link in the registration email the attendee receives, it takes you to the event espresso event page. Is there a way to get that link to take you to the alternate registration page URL if the event is utilizing one?

Thanks


Dean

November 4, 2013 at 2:35 am

Hi Yolande,

Are you using another Event Espresso event as the alternative URL?


infosolwebadmin

November 4, 2013 at 9:25 am

No, I have a a page setup on my website where I’ve got all of the event info and then an espresso_table where they can add it (and other variations of it, we have multiple options) to their cart.


Sidney Harrell

November 4, 2013 at 11:17 am

That is strange. The way it is set up, that link should take the user to the “Thank You” page with an argument of r_id in the url. It should present the user with the payment overview, and if the payment is incomplete, the payment gateways.


infosolwebadmin

November 4, 2013 at 12:18 pm

You can try it out for yourself if that would help you troubleshoot it at all. Here’s the link to the EE registration page where you can sign up for the event (I have google’s homepage setup as the alternate registration URL):

http://events.infosol.com/event-registration/?ee=18

If you go to the calendar page http://events.infosol.com/events-calendar/ you will see the test event and it links you to google, so I know I didn’t botch/forget to put in the alternate registration url.

Thanks!


Sidney Harrell

November 4, 2013 at 12:52 pm

I did a test registration on IBIS 2014 Main Conference Only, but I didn’t receive a confirmation email with the payment_link. Can you send me a payment reminder from the admin with the [payment_link] shortcode in it?


infosolwebadmin

November 4, 2013 at 3:30 pm

Alright I sent that out a payment reminder and added in the shortcode. That’s weird that you didn’t receive an email, I didn’t get a registration confirmation on my end either. Going to have to look into that.


infosolwebadmin

November 4, 2013 at 4:07 pm

I have the ‘Send registration confirmation emails before payment is received?’ option in the settings set to No, so in the case of choosing the pay by check option that explains why no confirmation email was sent. I actually talked to you about sending the confirmation email for people paying by check after they completed their pay by check option quite a few months ago (didn’t want to send the confirmation email before they did) so I will dig up that thread/code again.

Thanks again!


Sidney Harrell

November 4, 2013 at 4:08 pm

Check the “Send registration confirmation emails before payment is received?” setting in general settings. If you have it set to “No” then they won’t get the confirmation email until after they have been marked “Completed”, which won’t happen for pay by check or invoice people.
I got the payment reminder email, (my fault, it’s [payment_url] instead of [payment_link], but it had another one in the stock email), and I clicked on the payment link, and it took me to the thank you page with the payment overview and links to pay.
I see what you’re saying now. The link back to the event in the payment overview doesn’t check for an alternate reg page. Try this code.
You can add this code to:
1 – Your theme’s functions.php file. It may get overwritten the next time you update your theme.
2 – The EE custom files add-on in the custom_functions.php file.
3 – Use this blank plugin to hold the custom function.


infosolwebadmin

November 6, 2013 at 3:35 pm

So I tried putting that code into my child theme’s functions.php and the custom_functions.php and it throws this error when you try and access the site after they’re both in:

Fatal error: Cannot redeclare espresso_prepare_event_link_fixed() (previously declared in /home/content/28/9168628/html/events/wp-content/uploads/espresso/custom_functions.php:150) in /home/content/28/9168628/html/events/wp-content/themes/focus/functions.php on line 201

And for that blank plugin, I wasn’t sure exactly what to do so I used the plugin editor and pasted the code into it and commented it out. Is that what I should be doing? Here’s a link to a pastebin of my functions.php and custom_functions.php with your code added if you want to reference the error and/or see what I did. I added the code at the very bottom of both files.

EE custom functions: http://pastebin.com/YnGD33yU
Child theme functions: http://pastebin.com/JK3neHCz

Any idea what I may have done or need to do to get it working?

Thanks for your time as always.


Tony

  • Support Staff

November 7, 2013 at 2:16 am

Hi Yolande,

Both those files look correct but that error is due to the function being declared in both places at once.

You can only declare a function once so personally I would remove it from the themes functions.php file and leave it in custom_functions.php


infosolwebadmin

November 8, 2013 at 12:22 pm

Thanks Tony/Sidney, that did the trick! It’s linking me back to the alternate registration URL now.

Viewing 11 reply threads

The support post ‘Thank You/Payment Overview page not linking to alternate registration URL’ 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