I've attempted to use both the securepages and context ssl modules to make the checkout pages on my site secure.

I'm finding that each are having problems with those pages. Securepages directs me back to the homepage and contextssl gives me a "page not found".

SSL is working on my site, but it is not playing nicely with these modules and specifically the checkout page. I have set the path for the contextssl module to "cart" to see how things behave and it does allow me to go the cart when I click on the cart link... though I did have an incident where I added something to the cart and when I went there I received a message saying the cart was empty. But, the path "checkout" and "checkout/*" give me the problems I mention above.

Anyone know what I'm doing incorrectly?

Thank you,
Joe

Comments

emagray’s picture

I am having this same issue! Though, on my website it seems to only happen with logged-in users. While this problem is occurring I have still been able to accept orders from people with user accounts.

emagray’s picture

I found the fix for the issue if you still need it. Just simply add the line $conf['https'] = TRUE; to your settings.php file. Doing that keeps the session intact during the switch from http to https.

rszrama’s picture

Status: Active » Fixed

Thanks for the answer.

pkcho’s picture

Thanks for your reply. Unfortunately, I already have $conf['https'] = TRUE; in my settings.php file :(.

I've found that it seems to only be an issue with Firefox on my Mac (both version 6 and 7). Every other browser I've tried it on (IE 7, 8, Firefox 7 windows, Chrome mac/pc).

Any clues?

Thank you.

codesmith’s picture

Status: Fixed » Active

I have a pretty similar problem. If it's the user's first visit to the site then they can checkout no problem. On a subsequent visit however they click the Checkout button and get redirected to the home page. I have the $conf['https'] = TRUE; in my settings.php file. Only fix is for the user to delete cookies.

bkonetzny’s picture

Hi there, this seems to be a known Problem with mixed-mode sessions and Drupal Core. SecurePages Issue #952820: Drupal 7 port lists everything we encounter here.

drupalninja99’s picture

I am still getting this even with the latest dev version of securepages (2 years later). Darnit.

lsolesen’s picture

kenorb’s picture

Related issues: +#952820: Drupal 7 port
kenorb’s picture

bojanz’s picture

Status: Active » Closed (outdated)