Jump to content

rewrite http to https in .htaccess


Recommended Posts


My problem is: when user is placing an order, the page is secured (as it should be)

here is the page source: view-source:https://goldpharm.co.il/order.php

but when choosing payment method (pay with a credit card) the page is not secured (https in red)

here is the page source: view-source:https://goldpharm.co.il/modules/creditcard/payment.php

the result is that I cant see cc details.

How can I find the reason?

Share this post

Link to post
Share on other sites

The code on "payment.php" allready has $usessl = true;

$useSSL = true;

if (!$cookie->isLogged())

$creditcard = new CreditCard();
echo $creditcard->execPayment($cart);



What can be the problem then?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More