Support

Home Forums Event Espresso Premium Thank you page not displaying transaction information

Thank you page not displaying transaction information

Posted: January 10, 2020 at 12:40 pm


spate73

January 10, 2020 at 12:40 pm

I’m not sure what I did, but apparently I made a change that messed up the thank you page. When you click ‘finalize registration’, it takes you to the thank you page that used to show transaction info and include a link to the invoice (using invoice payment method). Now, it only shows “loading transaction and payment information”, but the info never loads.


Josh

  • Support Staff

January 10, 2020 at 12:46 pm

Hi,

Do you remember making changes to your theme’s templates where you commented out the call to the WordPress get_footer() function? That’s probably what broke your site.

https://slack-files.com/T02SY781D-FSHTRPKFS-438dbb0592


spate73

January 10, 2020 at 1:28 pm

No I have not made changes to any theme template files. I was in the process of tailoring the registration process, I added some text to the check-out page, and briefly enabled check payment method. I’m not sure when the problem started.


Josh

  • Support Staff

January 10, 2020 at 1:36 pm

The footer template isn’t loading on any of your pages, so that’s more than likely what’s causing the problem and the other problems on your site (like no footer on any of the pages). You may not have made this change, but in order for the thank you page to display transaction information the call to get_footer() will need to be restored. .


spate73

January 10, 2020 at 1:42 pm

How do I go about doing that?


spate73

January 10, 2020 at 1:44 pm

I’d add that this was working previously, If I made a change to the footer I did that long ago and this was working yesterday and earlier today.


spate73

January 10, 2020 at 1:53 pm

Here’s the page source from the thank-you page:

<!– end of .registration-details –>
<div id=”espresso-thank-you-page-ajax-content-dv”>
<div id=”espresso-thank-you-page-ajax-transaction-dv”></div>
<div id=”espresso-thank-you-page-ajax-payment-dv”></div>
<div id=”espresso-thank-you-page-ajax-loading-dv”>
<div id=”ee-ajax-loading-dv” class=”float-left lt-blue-text”>
<span class=”dashicons dashicons-upload”></span><span id=”ee-ajax-loading-msg-spn”>
loading transaction and payment information…</span>
</div>
</div>
<div class=”clear”></div>
</div>

</div>
<!– end of espresso-thank-you-page-overview-dv –>

<div class=”clear”></div>

</div> <!– end .post –>
</div>
</div>
<!– End Main –>

<!– ?php get_footer(); ? –>


Josh

  • Support Staff

January 10, 2020 at 1:58 pm

The last line is the problem. The get_footer() function call has been commented out. It needs to be un-commented out so the WordPress theme’s footer.php template can load.


spate73

January 10, 2020 at 2:20 pm

I made the change to the footer text years ago and this functionality with the registration was working as of 10 minutes before I submitted this post, so I respectfully disagree that this is the problem.


Josh

  • Support Staff

January 10, 2020 at 2:30 pm

It might not be the problem, but it is a problem and the get_footer() call is required by many WordPress functions.

In any case, maybe you could undo whatever was done 10 minutes before you started this post. You’re in a better position than I am to know what that was.


spate73

January 10, 2020 at 2:30 pm

My apologies, you were right. I was trying to remember what change I made, and after some digging I remembered that I changed the template for the thank-you page from default to another that I had customized to make the site look better. This new template is the one with the footer commented out. I changed back to default and it works now, although I still don’t like the blank footer section at the bottom. I tried to uncomment the call to the footer in the template and received an error relating to an undeclared function in another file. IDK what that’s about but I’ll try figure it out.

Thanks for the help.


Josh

  • Support Staff

January 10, 2020 at 2:41 pm

You might want a “blank” footer template that doesn’t hold any content, and instead calls the get_footer() function and closes all the opened tags from header.php and so on.


spate73

January 10, 2020 at 3:21 pm

I’ll try that out. Thanks.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  spate73 1 week, 3 days ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!