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.

Archive /

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

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

SSL in checkout page - how


Reply


2 Posts   1486 Views

Avatar
tazzydemon

Community Member, 124 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, 5513 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!