Home › Forums › WordPress › Web Invoice – Invoicing and billing for WordPress › Web Invoice scripts insecure loading
- This topic has 3 replies, 2 voices, and was last updated 13 years, 6 months ago by
S H Mohanjith.
-
AuthorPosts
-
August 20, 2009 at 15:01 #3436
james
MemberHi,
I have finally got around to installing my SSL certificate to use Google Checkout. Unfortunately the page is loading as insecure because the scripts called by Web Invoice load as http:// not https:// even though I have selected the options to force SSL and to use https://
I tried changing the WordPress address to start https:// – all this did was break the login and admin areas by loading all content as https://https:// (the https twice killed all CSS / JS)…
Where do I edit the plugin files to make the plugin load in a secure environment?
One other thing, I noticed the Google Checkout image was also being called as http:// – I edited Display.php to alter this to https://
Will the required updates be put into the next version of Web Invoice (along with viewing an invoice once paid)?
Thanks,
James
August 20, 2009 at 16:56 #4552S H Mohanjith
MemberThanks for reporting. Next release will have fixes for https not being used for payment method logos.
Because wp_enqueue_script is being used to add javascript it will not be possible to fix the javascript being loaded from http:// when “WordPress address” is using http:// .
I use https for my invoice site, I have no issues with insecure connections. Definitely it doesn’t break login and admin areas. You might want to make sure your settings are fine and there is no caching (of settings) making everything to break.
Since you have already changed Display.php, you will only have to change the “WordPress address”. Can you quote the complete “WordPress address” and “Blog address” if you continue to have issues.
August 20, 2009 at 19:07 #4555james
MemberThanks for your input.
I figured out the problem lies with having the WP installation in its own directory (on a temp basis whilst I build the theme and test).
Testing the https:// WordPress Address & Blog Address on the live site works without JS includes / CSS starting https://https:// and breaking the layout but doesn’t work in a sub-directory.
This is probably a WordPress error rather than anything to do with the plugin though.
August 28, 2009 at 18:53 #4558S H Mohanjith
MemberFixed in 1.9.5
-
AuthorPosts
- You must be logged in to reply to this topic.