- This topic has 1 reply, 2 voices, and was last updated 13 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › minor ssl/https partial encryption error
I have my shopping cart page secured with ssl. When the end user clicks on “checkout with paypal” they are sent to eStore_payment_submission.php. Internet explorer gives a warning about a partially encrypted connection. The error comes from http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js being loaded. So, I added some code to check if SSL is being used, so that it will then load the jquery file via it’s https address.
if ($_SERVER == 'on') {
echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
}else{
echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
}
Of course, we could probably just host the file on our own server, but this was the first thing i tried and it worked.
Thanks… added this in the plugin code.