Jump to content

rewrite http to https in .htaccess


Butters

Recommended Posts

Hi,

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?
Thanks.

Link to comment
Share on other sites

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

<?php
$useSSL = true;
include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/../../header.php');
include(dirname(__FILE__).'/creditcard.php');

if (!$cookie->isLogged())
   Tools::redirect('authentication.php?back=order.php');


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

include_once(dirname(__FILE__).'/../../footer.php');

?>



What can be the problem then?

Link to comment
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...