CartAt the current mambo-phpShop is not able to fully support Shared SSL. The problem is that the Cart contents get lost as soon as the Customer is redirected to the Shared SSL domain, which is regularly another one than your site's domain. Additionally users that already have logged in, have to login again. This is not the shop behaviour that a normal customer expects.

But because Shared SSL is an easy and affordable solution to provide a secure checkout, it's important that mambo-phpShop also supports Shared SSL checkouts. The next version of mambo-phpShop will support this!

This article explains how to modify your current version of mambo-phpShop to be able to use Shared SSL.

The problem with Mambo & mambo-phpShop is that both use Sessions, which are mostly controlled by Cookies. But Cookies are restricted to one domain (and its subdomains), which makes it impossible to use them on your Shop's Domain AND on the Domain of the Shared SSL server. The trick is to "copy" the Cookies from one domain to the other.

If you want to use Shared SSL with the current version of mambo-phpShop, you have to follow these steps:

1. Download the latest version of the ps_session class and replace your "old" file /administrator/components/com_phpshop/classes/ps_session.php with it. Please remember to use mamboXplorer if you can't access the file because of missing permissions.

2. Download the latest version of the phpshop_parser.php and Backup your "old" file /components/com_phpshop/phpshop_parser.php. Now replace the old version with the new one.

3. The last step is to modify the file /administrator/components/com_phpshop/html/shop.cart.php. You can either download the latest version here or just change the line

    <a href="<?php $sess->purl( SECUREURL . "index.php?page=checkout.index"); ?>">

to

     <a href="<?php $sess->purl( URL . "index.php?page=checkout.index&ssl_redirect=1"); ?>">

After having followed these three steps you can now fill in a Shared SSL domain for your site in the Shop configuration, Tab "Path & URL".

Please use this Forum Topic to post any bugs or problems.