Jump to content

Invoice Logo Messing Up SSL


MyLama

Recommended Posts

Hi -

 

We had our logo on the invoice, which looked great and we really liked it, but it causes an SSL issue (non secure item).

 

I looked at the invoiceview.tpl and elsewhere, but couldn't find the magic button to get rid of the hypelink.

 

But even without the hyperlink, the fact that the logo is referenced by a url makes me think that I would still have problems.

 

Any feedback on how we can have a secure logo on our invoices?

 

Thanks,

MyLama

Link to comment
Share on other sites

Use the relative path to the logo or use HTTPS:// in the url.

 

You cannot use a relative path for the logo as the e-mails would then not be able top reference the logo image - it has to be an absolute url or it will not display at all in messages

Link to comment
Share on other sites

Works Perfect.

 

I had dismissed using https:// out of hand as I have two installs for multiple currencies so I just got a single domain SSL.

 

I thought the logo link would bring cleints to the home page in https:// but it doesn't, of course.

 

While the logo's reference is the absolute https:// (which prevents any annoyng pop up warnings), the actual link remains http:// so everything works out.

 

Thanks all!

MyLama

Link to comment
Share on other sites

Also, if you do:

 

<img src="//domain.com/path/to/whmcs/logo.jpg">

 

The browser will stick in http: or https: itself, depending on which it is viewing the current page over. I'm not sure how email clients would react to it, however.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated