Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping cart 'empties' itself


dagaz

Recommended Posts

Hi,

after hours of trial and error and googl'ing, searching this forum I give up.

My shopping cart is always empty when I get to the last checkout point - Confirmation.

Then I click on My Account, Get asked for username and password again and the 'stuff' is there again until the final confirmation. Then the cart is empty again. I had to change some SSL in configuration.php as per webhostinghub support:

 

define('HTTP_SERVER','http://secure30.webhostinghub.com/~username');

define('HTTPS_SERVER','https://secure30.webhostinghub.com/~username');

define('HTTP_COOKIE_DOMAIN','http://secure30.webhostinghub.com/~username');

define('HTTPS_COOKIE_DOMAIN','https://secure30.webhostinghub.com/~username');

define('ENABLE_SSL', true);

 

Does that casue the problem? absolut lost here

 

thanks for any help.

Link to comment
Share on other sites

@@dagaz

 

This:

 

define('HTTP_SERVER','http://secure30.webhostinghub.com/~username');

define('HTTPS_SERVER','https://secure30.webhostinghub.com/~username');

define('HTTP_COOKIE_DOMAIN','http://secure30.webhostinghub.com/~username');

define('HTTPS_COOKIE_DOMAIN','https://secure30.webhostinghub.com/~username');

define('ENABLE_SSL', true);

 

Should be something like this:

 

define('HTTP_SERVER','http://www.yourdomainname.com');

define('HTTPS_SERVER','https://www.yourdomainname.com');

define('HTTP_COOKIE_DOMAIN','www.yourdomainname.com');

define('HTTPS_COOKIE_DOMAIN','www.yourdomainanme.com');

define('ENABLE_SSL', true);

 

 

 

Chris

Link to comment
Share on other sites

For shared SSL it should be something like this:

 

define('HTTP_SERVER','http://www.domain.com');
define('HTTPS_SERVER','https://secure30.webhostinghub.com/~username');
define('HTTP_COOKIE_DOMAIN','.domain.com');
define('HTTPS_COOKIE_DOMAIN','.secure30.webhostinghub.com');
define('ENABLE_SSL', true);

 

If you're having trouble getting the SSL to work visit the SSL Implementation Help link in my signature.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

@@germ @@DunWeb

 

Thanks for the quick reply. I tried both suggestions. Still, the shopping cart is empty at the last step 'Confirmation".

Also checked everything mentioned in the SSL Implementation Help link by germ.

Looks OK.

 

I also noticed a red sqaure showing up next to "Account" when I get to the "What's in my Cart" point.

Webhostinghub Tech support is of no help. Pointing to osCommerce.

Should work with Webhostinghub too, right?

Thanks for any help.

Have a great Weekend.

 

Ralf

Link to comment
Share on other sites

If you want my help you'll have to post your URL or PM it to me.

 

I won't help debug something I can't see for myself.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

P.S:

It is not a square :-) I scrolled over and it is a red bar saying:

 

You do not have permissions to make this API call

 

Other than the cookie issue I PM'd you about my guess is that this error is caused because there is a problem with your paypal install since that's the only payment method available.

 

I won't be any help with that.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...