Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
"View Your Payment Details" link from confirmation email going to wrong page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium "View Your Payment Details" link from confirmation email going to wrong page

"View Your Payment Details" link from confirmation email going to wrong page

Posted: June 28, 2013 at 3:26 pm

Viewing 6 reply threads


Cynthia Brown

June 28, 2013 at 3:26 pm

The link to the View Your Payment Details in the registration confirmation email is going to the wrong page. It is sending me to my Blog page.

I believe it may have something to do with my WordPress url which is: http://www.quincycitycrossfit.com/blog. My site url is: http://www.quincycitycrossfit.com

Here is the actual link from the email: http://www.quincycitycrossfit.com/blog/?page_id=485&r_id=6-51cdf4d653953

Appreciate you help!
Thank you.


Garth

  • Support Staff

June 29, 2013 at 11:40 pm

Hi Cynthia,

How are you today?

I’m pretty sure that link should direct to the thank you page. What page do you have the [ESPRESSO_PAYMENTS] shortcode? Is that page private or password protected (which it shouldn’t be)? It works on my testing installation so lets figure out what’s different about your setup.


Cynthia Brown

June 30, 2013 at 4:48 am

oh, ok – when I removed “/blog” from that link, it did take me to the Thank You page. That page is not private or password protected. the only thing I can think of is what I mentioned earlier: I believe it is pointing to my WordPress URL, rather than my site URL?? thanks for your help!


Dean

  • Support Staff

June 30, 2013 at 11:52 pm

Hi Cynthia,

We have noticed recently that some users with different site and wordpress urls were experiencing issues similar to this. There is a fix in place that will be released with the next version.


Cynthia Brown

July 1, 2013 at 5:25 am

so, is there nothing I can do now that will send folks to the right page??


Dean

  • Support Staff

July 1, 2013 at 6:36 am

Hi,

If you are happy amending code then you can apply the fix. It is a single line of code replacement.

In event-espresso/includes/functions/email.php on approx line 285 is this line

$payment_url = get_option('siteurl') . "/?page_id=" . $org_options['return_url'] . "&r_id=" . $data->attendee->registration_id;

Completely replace that line with the following

$payment_url = home_url() . "/?page_id=" . $org_options['return_url'] . "&r_id=" . $data->attendee->registration_id;

That will use the home url (where wordpress is installed) as a base for the link url.


Cynthia Brown

July 1, 2013 at 11:38 am

that worked perfectly, thank you!!

Viewing 6 reply threads

The support post ‘"View Your Payment Details" link from confirmation email going to wrong page’ 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 - Staging Server