Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SSL in checkout page - how

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

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

Page: 1
Go to End
Author Topic: 1398 Views
  • tazzydemon
    Avatar
    Community Member
    114 Posts

    SSL in checkout page - how Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: SSL in checkout page - how Link to this post

    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!

    1398 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.