I am using Ubercart 3.3, Secure Pages latest dev, and Drupal 7.18.

When I go to the site, login, and add a product to my cart all goes well. I then go to the cart page which shows correctly and I click checkout. It then redirects me to the checkout page where I fill in my information and choose paypal as my payment of choice. When I'm all done I click review order at the bottom of the form and it redirects me back to the cart page instead of the review order page.

To make matters worse, after that happens I can no longer get back to the checkout page, every time I click checkout it just redirects me back to the cart page.

Some things i've checked:

  1. User 0 is in the database
  2. Clearing cache
  3. Truncating the cache tables
  4. Try a different product
  5. Applied patches Secure Pages requires
  6. Adding $conf['https'] = TRUE; at the bottom of my settings.php file
  7. Disabled PayPal
  8. No errors in watchdog

Comments

longwave’s picture

If you disable secure pages, does the problem go away?

tr’s picture

Does it work for the default Bartik theme?
Does it work when *all* your pages are served via HTTPS?
Have you read http://drupal.org/node/1445436 ?
Have you checked your /cart/checkout page for JavaScript errors or missing resources (.css and image files that failed to load, or that are hardcoded to load through http rather than https)?

Basically, what happens is you're losing the session when you switch between http and https. The most frequent causes of this are Secure Pages misconfiguration and .css/image files not loading through https because of a theme problem.

jsheffers’s picture

Switching the theme to Bartik helped me find the issue. It was actually caused by a product I had in the cart that was no longer valid. In Bartik the message was printed to the screen, in my custom theme it was not so I couldn't see the issue.

Thanks for your help!

longwave’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.