2004 Posts in 533 Topics by 435 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Using HTTPS for just the e-commerce section (and log-on pages)
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1527 Views |
-
Using HTTPS for just the e-commerce section (and log-on pages)

18 February 2009 at 4:18pm
Is there a way to use HTTPS for just the e-commerce pages? I've already seen old discussions on this, including this one, but it seems inconclusive. It looks like you can use Director::forceSSL() to switch to HTTPS, but that there is no method to switch back to HTTP for pages that don't need a secure connection.
-
Re: Using HTTPS for just the e-commerce section (and log-on pages)

4 March 2009 at 2:54pm Last edited: 4 March 2009 2:55pm
what about make a Director::Redirect('https://'.$Link) or something? to use https only in the payment page?
-
Re: Using HTTPS for just the e-commerce section (and log-on pages)

14 July 2009 at 11:12am
Hi dospuntocero,
How would I do that exactly? something along the lines of:
if($_SERVER["SERVER_PORT"] == 443) {
Director::Redirect('https://'.$Link)
}I only want the checkout page to be secure. But if the user visits the home page again I want that to go back to non-secure.
Cheers,
Barry.
| 1527 Views | ||
|
Page:
1
|
Go to Top |



