Posted: 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. |
|
Hi, Do you remember making changes to your theme’s templates where you commented out the call to the WordPress |
|
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. |
|
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 |
|
How do I go about doing that? |
|
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. |
|
Here’s the page source from the thank-you page: <!– end of .registration-details –> </div> <div class=”clear”></div> </div> <!– end .post –> <!– ?php get_footer(); ? –> |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
I’ll try that out. Thanks. |
|
The support post ‘Thank you page not displaying transaction information’ 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.