MX Shop Forum :: Anyone....Please Help???!!!
This thread was displayed: 0 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
S G
04-01-2007 04:32:35 GMT +2
|
Hello Everyone,
I am using a shared SSL certificate and have the latest version of MX Shop loaded on my web hosting server.
Since I have a shared SSL certificate, it means that when I want to have a secure transfer of information then my URL changes from http:www.mydomain.com/index.php to https://servername.hostingcompany.com/~username/index.php (the shared certificate path).
This is fine if you only want to have the last part of the checkout process secure. But if you would like to secure the ENTIRE checkout process, you will lose the the session information (including cart contents) as soon as you use the https:// shared certificate path.
I've found that if the domain is already in the https:// secure state before the checkout process, then no session information is lost.
What I would like to do is put the user's URL or path into the https:// mode as soon as they add an item to their cart?
Does anyone have any ideas on how to do this? Please be specific with any information, because I am definitely not an expert when it comes to manual coding ..........
Thank you in advance,
Sirian
|
|
|
S G
04-08-2007 02:39:24 GMT +2
|
I have found that this will work to redirect the current page to a the secure one:
<?php if ( !isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != 'on' ) {header ('Location: https://servername.host.com/~username/domainname/html/index.php?'.$_SERVER['QUERY_STRING']);
}
?>
But I still don't know how to call this redirection right after the user hits the "AddToCart" button (and only after the button is pushed)????
Any and all help will be greatly appreciated............
Sirian
|
|
|
Razvan Racasanu[InterAKT]
04-11-2007 09:33:28 GMT +2
|
Hello,
To make a redirect after you added a product to your cart, you need to edit the file /MXKart/addToKart.php. Here, you need to remove the line that looks like this:
$MXK3Insert->registerTrigger("END", "Trigger_Default_Redirect", 99, "{KT_REFERRER}");
as this will redirect you to http, and you need to add a custom END trigger to the transaction. In that trigger, you can write the code you posted above as it will be executed after the product is added to the cart.
Regards,
Razvan RACASANU
|
|
|
S G
04-12-2007 00:17:54 GMT +2
|
|
|
|
Razvan Racasanu[InterAKT]
04-12-2007 14:59:12 GMT +2
|
Hello,
To do this, you could make all links that point to the product page and all the links that add to the kart absolute one, pointing to HTTPS. To do this, you need to edit the in /modules/category and make all links abolute to the HTTPS domain. You also need to change the parameter passed to getAddToKartLink to be an absolute HTTPS url.
Regards,
Razvan RACASANU
|
|
|