Posted: June 24, 2015 at 3:50 pm
|
The pdf that is shown when you click the “View Full Order Confirmation Receipt” button after you register for a class shows up as 2 pages with just the phone number on the 2nd page a good section of white space left on the first page. Is there a way to make this pdf be just 1 page? |
|
Hi, Can you provide a link to an example please? Most likely it’s some sort of CSS conflict, but without seeing it in situ it’s hard to be sure. |
|
Here is a link to the page with the receipt on it: http://www.hindmansanchez.com/thank-you/?ee=launch_invoice&id=1-54f1dd667e1acf0e7a32af1538aeadbe&receipt=true |
Hi Melinda, your URLs appear to be for the older version of Event Espresso 4. Could you please backup your WordPress and update to the current release and let us know if this issue continues? https://eventespresso.com/wiki/ee4-changelog/ — |
|
|
I did that but now my site is down. I get this error: |
Hi Melinda, did you use some sample coding from our support forums recently? If so, could you link to that prior support post? It sounds like the events are being pulled into a slidedeck or carousel. — |
|
|
So I figured out the error. I didn’t realize the plugin was in maintenance mode. That is fixed. Unfortunately the upgrade didn’t fix the order confirmation. I just signed up again and it still places the phone number on the 2nd page of the confirmation. Ideas! |
Hi, could you let us know how you are accessing that URL that you shared? Is that from the thank you page or via an email notification? — |
|
|
Once I register for a class I am redirected to the thank-you page. To get to this url I clicked the blue button “View Full Order Confirmation Receipt”. Thanks! |
Hi, your URL doesn’t match what we are seeing on the recent release. It should appear similar to this: http://cl.ly/image/0U463L3P3d3E Could you go to Event Espresso –> Messages. Then you should see a list of message types. Is Invoice and Receipt appearing there? If not, could you go to Messages –> Settings and enable them? — |
|
|
They are there. |
|
In addition to the phone number now the client is complaining that the Suite 300 in the address should be on the same line as 5610 Ward Road and the zip code needs to be on the same line as Arvada, Colorado. Any luck in tracking down how to fix this? |
Hi Melinda, I’m having trouble getting a similar URL loaded. Note that your URL does full screen and doesn’t have the switching options that I shared in this screenshot: http://cl.ly/image/0U463L3P3d3E Could you try another registration as you are now on the latest release and then share that URL again? Addresses are available in a couple places. For the invoice, it can be found in Event Espresso –> Payment methods –> Invoice. For other areas of Event Espresso, it will be retrieved from Event Espresso –> General Settings (Your Organization). — |
|
|
I tried again but still a URL that isn’t similar: http://www.hindmansanchez.com/thank-you/?ee=launch_invoice&id=1-b0c0685bcbcfb45c4c5b1233eb0a376e&receipt=true Is there some setting I am not setting correctly? I did find that the Suite Number in the address was on Address line 2 in the general settings so the suite number is fixed. Unfortunately the zipcode is still on a line by itself. Thanks! |
Hi Melinda, I checked with a team member and the invoice is being generated via the old method from Event Espresso 4.4.x. Could you check this location to see if you have any invoice template files? /wp-content/uploads/espresso/gateways or /wp-content/uploads/espresso/templates If so, could you rename the folder so that the system begins to use the new invoice template system which is managed through WP-admin –> Event Espresso –> Messages –> Invoice? — |
|
|
I just checked and there are not any files in the /wp-content/uploads/espresso/gateways directory. In the /wp-content/uploads/espresso/templates directory there are no files just 2 other directories “modules” and “shortcodes” |
Hi Melinda, is there any other custom coding in place? Perhaps from the core plugin? The URLs that you shared did not look familiar and when I checked with a team member he shared that they were from an older version of Event Espresso 4. Here is an example of how the invoice payment gateway may have been relocated in the past: https://eventespresso.com/topic/customize-payment-invoice/ If there is no custom coding, then could your rename this folder and then re-install your plugin? This removes and replaces the core plugin folder. No event data or registrant/attendee data will be lost. /wp-content/uploads/espresso /wp-content/uploads/espresso –> /wp-content/uploads/espresso1 — |
|
|
I think the only custom coding is template overrides. I checked and wp-content/uploads/espresso/gateways/ is an empty directory. To reinstall do I deactivate the plugin, delete the plugin files and then re-upload and activate it? What is the process to re-install safely? This is a live client site. Thanks! |
Hi Melinda, A re-install is similar to re-installing other plugins for WordPress. Again this only removes and replaces the core plugin folder. Begin by backing up your WordPress: https://eventespresso.com/wiki/how-to-back-up-your-site/ Next, download the latest version of your Event Espresso software from your account: https://eventespresso.com/users/mccawphoto/#ee4-downloads Now login to your WordPress admin and go to Plugins. Locate Event Espresso in the list of plugins and deactivate it and remove it. Then from the Plugins screen in the WordPress admin click on Add New –> Upload. Then browse to the zip file that you downloaded from your account. Select it and begin the upload process. You can activate Event Espresso after it has finished. — |
|
|
Ok, I have finished reinstalling. |
|
Now when I register and click the confirmation receipt button I get a blank page. |
Hi Melinda, could you turn on WP debugging using this macro in your wp-config.php file and then try to view the confirmation and then check the debug.log file for the error? https://gist.github.com/lorenzocaum/848801a1173be464fbe7 The debug.log file will be located here: /wp-content/debug.log Please copy and paste the error in a reply here. Also, as a side note, is this site a new project or one that you took over from another web professional? — |
|
|
I added the macro to the wp-config and tried another test sign up for a class but when I go to /wp-content/ I don’t see a debug.log file. This is a our project that we just made live about 2 weeks ago. |
Hi, could you try clicking on the button again so the error is generated? The debug file should then be created. — |
|
|
I clicked the “View Full Order Confirmation Receipt” button again but still no debug file showing up. Are you wanting a different button clicked? Sorry I am not trying to make this difficult. Thanks! |
If there’s no debug.log file at all, you’ll need to create one in the wp-content folder. |
|
|
I just did that and then tried the button again. Then I looked at the log file but it was empty. I must be doing something incorrectly. |
|
I just looked at the error_log in the root directory of the website and found this error: [30-Jun-2015 06:42:05 UTC] PHP Fatal error: Call to a member function get_extra_meta() on a non-object in /home4/hindmansand/public_html/wp-content/plugins/event-espresso-core-reg/modules/gateways/Invoice/lib/Invoice.class.php on line 54 |
Hi Melinda, The error message indicates there’s some old receipt template code in /wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates. Can you check in that specific location and remove those files? It will be good to make a backup or move those files elsewhere in case you need to reference the older customizations. We generally recommend making customizations within the new receipt template editor that was added in Event Espresso 4.6 instead of using the old receipt templates. |
|
|
I just looked and there is nothing in /wp-content/uploads/espresso/templates. I am fairly sure we didn’t edit any files except the template overrides we created by adding the files into our theme folder. |
Were any of the template overrides added to the WordPress theme for the invoice or receipt? Another thing you can do that may help is go into the Event Espresso > Messages settings and check to make sure that the receipt HTML message type is active. Then you go into edit the receipt template, and save. |
|
|
I just talked to my developer that worked on this site and I guess she did change a file in /wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates She thinks it was this file: receipt_body.template.php In this whole process I re-installed EE4 and renamed the /wp-content/uploads/esspresso/ directory to /esspresso1/ so I still have that. But in the new /espresso/ directory I don’t have anything in /wp-content/uploads/espresso/templates So is your suggestion to still “go into the Event Espresso > Messages settings and check to make sure that the receipt HTML message type is active. Then you go into edit the receipt template, and save.”? Thanks! |
It’s not going to hurt anything if you go in and re-save the receipt template. You can also try removing the old files that the developer had customized. |
|
|
I have tried resaving the receipt template but am having no luck. When I register for an event and click the “View Full Order Confirmation Receipt” button I am taken to a blank page. How do I get this page to show up with the receipt again? It has been blank since you had me upgrade to the latest version. Please help I need to get this working for the client. Thanks! |
Hi Melinda, Can you please go to Event Espresso -> Messages. Within that list find the Receipt template, click on the purchaser link – http://take.ms/1idhC Now within that page, do you see text within the fields shown (like this – http://take.ms/TJid1) or are they blank? |
|
|
It doesn’t look the same. I have something in the Main content but it looks different than yours. My Event List area is empty. This is how mine looks. Thanks! |
Hi Melinda, based on your feedback here (https://eventespresso.com/topic/view-full-order-confirmation-receipt/#post-163355), those old templates should no longer be running and Event Espresso should be using its new messages system. Could you try resetting only the invoice message type? Go to Event Espresso –> Messages. Then click on settings. Now drag the receipt message type over to the inactive area on the right side of the screen. Then reverse your steps. Next go to Messages –> Receipt (Purchaser). In the extra actions area, there is a reset templates option: http://cl.ly/image/2c2n3T3a2B04 This will reset this template only: http://cl.ly/image/2Y2I0W0n441N If that still does not help, then there may be additional custom coding in place that may be interfering. I would temporary turn on WP debugging (https://eventespresso.com/topic/view-full-order-confirmation-receipt/#post-162966) again and check the debug.log to see if there are any other errors appearing. — |
|
|
Hi Lorenzo, I tried your suggestions and I now have the receipt back and it looks different than it used to. Thanks! |
Yes that is how the Invoice/Receipt looks within the latest version of Event Espresso 🙂 Seems your templates were corrupted somehow, resetting the templates sets up the templates back to the defaults. If you click to download the PDF from either the Invoice or Receipt view, does it work as expected? |
|
|
Yes it does! |
Then yes it should all work as expected now. If you wish to edit your receipt/invoice templates you can do so through Event Espresso -> Messages rather than using custom template files within uploads. |
|
|
Thank You to everyone who helped me out and stuck with me on this until it was resolved. I do appreciate it very much!! |
You’re most welcome, Melinda. If you have any further problems just let us know. Have a great day 🙂 |
|
The support post ‘View Full Order Confirmation Receipt’ 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.