Butters Posted January 10, 2011 Share Posted January 10, 2011 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.phpbut 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.phpthe result is that I cant see cc details.How can I find the reason?Thanks. Link to comment Share on other sites More sharing options...
rocky Posted January 12, 2011 Share Posted January 12, 2011 It's a bug in the module. You must add the following code in the PHP file for the page that is HTTP to make it HTTPS: $useSSL = true; Link to comment Share on other sites More sharing options...
Butters Posted January 12, 2011 Author Share Posted January 12, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now