Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

SSL in checkout page - how


Go to End


2 Posts   1667 Views

Avatar
tazzydemon

Community Member, 135 Posts

7 September 2008 at 2:37pm

In dabbling with the ecommerce module I am wondering if I am going stupid. How does one set the checkout page to be in a secure area?

I.e., How does one make the checkout link go to https://mysite/checkout/ or https://mysite/checkout and then what does one do with the linked images?

Julian

Avatar
Willr

Forum Moderator, 5523 Posts

7 September 2008 at 9:00pm

Ive never used it but I believe you have to call this method in your Checkout.php page in the function init...

Director::forceSSL()

Which will redirect the http://site/checkout/ to https://site/checkout. I think there was a discussion on the dev mailing list recently about this but cant remember too many details!