I need urgent help regarding Cart for anonymous users. I have Ubercart setup and the cart works fine when the SSL is not enabled. I am using Ubercart SSL for enabling SSL for site. Once SSL is enabled the anonymous user is not able to add products in cart showing message - "There are no products in your shopping cart.". I want to enable anonymous users to pay for products and use cart using SSL. Any help would be appreciated. Thank you.

Comments

asb’s picture

Probably 'uc_ssl' has the same issue with session cookies like 443 Session. From the project page:

Since 443 Session module uses separate session cookies for HTTP/HTTPS this means that when a user navigates from an HTTP page to an HTTPS page any session data will appear to be lost. This makes this module unsuitable for running an e-commerce site where most pages are HTTP except for the checkout which is HTTPS. In this case the user's cart contents would appear to be lost when they go to checkout.

crystaldawn’s picture

Priority: Critical » Normal

The most common cause of anonymous cart contents disappearing is an improper SSL setup. Either it SSL is not setup properly, is using a different domain than the non-ssl version of the site, has insecure items on the page, or some other setup issue is causing the session cookie to be rejected during copy.

RE: 443 Session module.
Never use this module with uc_ssl. It's not supported and not required for either uc_ssl version (d6 nor d7). This module is mainly for securepages since it does not handle session cookies properly for D6. I dont think it's required for securepages in D7 but uncertain.

avpaderno’s picture

Issue tags: -#drupal, -#ubercart, -#ssl, -#anonymous, -#cart, -#empty