SSL Issues - not able to add items to the cart
Hi.
I have had an issue for a while now.
When setting the config.php to what (i think) the correct settings should be you cannot had items to the cart.
On Windows Server, if I configure the config.php to
This works (But is using the wrong domain names for the end users web site)
define('HTTP_SERVER', 'http://cc.dencom.co.nz/techbooks');
define('HTTPS_SERVER', 'https://cc.dencom.co.nz/techbooks');
This does not work, you cannot cannot add items to the Cart
define('HTTP_SERVER', 'http://www.techbooks.co.nz');
define('HTTPS_SERVER', 'https://cc.dencom.co.nz/techbooks');
(i have a test server with a Shared Cert which also has the same issue)
define('HTTP_SERVER', 'http://www.techbooks.co.nz');
define('HTTPS_SERVER', 'https://www.techbooks.co.nz/techbooks');
In teh last case using the shared Cert
https://www.techbooks.co.nz/techbooks' is actually
https://cc.dencom.co.nz/techbooks
Sessions id's are stored in the DB.
Ross
Re: SSL Issues - not able to add items to the cart
I arrived at (non-SSL) http://cc.dencom.co.nz/techbooks/ without problems.
Then added a product to the cart - again no problem.
Clicked the Checkout button and it took me to the secure Login page (as it should be). There were no errors.
Worked fine for me ...
Re: SSL Issues - not able to add items to the cart
Yes it does work for the Live Site, but I have had to set the configure.php to use the wrong domain names. I can only get it working using the cc.dencom.co.nz
Should be (using a Shared Cert, in the Test Server)
define('HTTP_SERVER', 'http://www.techbooks.co.nz');
define('HTTPS_SERVER', 'https://www.techbooks.co.nz/techbooks');
Seems to be an issue with the ZenID when changing from one virtual server to another. As I noticed a customer cannot login also.
Re: SSL Issues - not able to add items to the cart
Quote:
Originally Posted by
dencom
Yes it does work for the Live Site, but I have had to set the configure.php to use the wrong domain names. I can only get it working using the cc.dencom.co.nz ...
Any SSL cert only works for the domain it has been purchased/issued for.
If the cert was issued explicitly for http://cc.dencom.co.nz then it *will not work* for http://www.techbooks.co.nz no matter how you set your 2 configure.php files.
There are many other posts scattered through the forums dealing with exactly this same issue.
For anyone else having this problem please see this tutorial which I posted about 12 months ago.