Posted: September 23, 2014 at 12:15 pm
|
September 23, 2014 at 12:15 pm Guys, Hopefully a simple question: How to I get my logo onto the Invoice? I am running the most current EE3 build. I had a logo in the General Settings for the company. Is that supposed to automatically show up in the invoice? Help is, as usual, greatly appreciated. Oren |
Hi Oren, Please login to your WP dashboard and go to the Payment Methods page. Then scroll down and locate the invoice payment gateway. You can set a logo there by adding a URL (link) to the image. http://cl.ly/image/2O443X3l0t0u — |
|
|
I attached the logo but it is really small. Any way to make it larger? (Also, can I remove the “Pay Online” link? Oren |
|
Hi again, Is this what it is supposed to look like or am I doing something wrong? Oren |
|
Hi Lorenzo,
I tried various combinations with and without the ()’s and with and without the “:”. These don’t affect the outcome. It seems to purely be length. Hope this helps. Oren |
Hi Oren, Although there is a limit to the event names within EE3, the length of the event name is not causing this. I used your event name within one of my test event and generated the invoice – http://take.ms/pJBQV However, I did need to make one small change:
Need to be:
When using your original event name with WP_Debug enabled a Notice is thrown:
The illegal character is the ‘-‘, this is likely being thrown from the PDF generator EE3 is using. I have created a ticket to investigate this further. In regards to the small invoice logo, what is the size of the image your are uploading to use as the logo? |
|
|
Very interesting about the thrown exception. I didn’t think to check the logs…. though that’s really more your business than mine (have been a programmer for more than 20 years, I’m always curious). |
I did some investigating into this. Basically FPDF (which EE3 uses to create the PDFs) doesn’t allow elements to float around when creating the document. When using square images it throws the sizing used off and creates the effect you saw when using the image sizes above. Depending on the logo there are a couple of ways to work around this, an image size of 340×120 works best – http://take.ms/V9y3s Meaning an aspect ratio of 17 : 6 However depending on the logo a square image may be the only option, in this case a modification to the Invoice gateway would be needed to alter the size set for the image, it will make the logo much smaller but will fit correctly within the space provided, for example – http://take.ms/NV23F I can provide details on how to do this if you prefer this? |
|
|
Tony, I think we can consider both issues resolved: Thanks… and again, I’d like to commend you and your staff there for such excellent service. Oren |
September 24, 2014 at 10:41 am Thanks for the feedback Oren, we always appreciate it! I’ll mark this thread resolved, if it turns out you need to use the square logo just post up a new thread and I’ll walk you through there. Have a great day! ๐ |
|
The support post ‘Attaching Logo to Invoice’ 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.