Jump to content



Latest News: (loading..)

- - - - -

Shopping cart 'empties' itself

shopping cart

  • Please log in to reply
6 replies to this topic

#1   dagaz

dagaz
  • Members
  • 3 posts
  • Real Name:Ralf
  • Gender:Male
  • Location:USA

Posted 04 August 2012 - 01:49 AM

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.

#2 ONLINE   DunWeb

DunWeb
  • Members
  • 12,713 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 04 August 2012 - 04:59 AM

@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
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)  for more information and to contact me for professional osCommerce support that includes custom templates, add ons as well as cart leasing and support plans.

#3   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 04 August 2012 - 01:52 PM

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.

Edited by germ, 04 August 2012 - 02:06 PM.

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 >

#4   dagaz

dagaz
  • Members
  • 3 posts
  • Real Name:Ralf
  • Gender:Male
  • Location:USA

Posted 04 August 2012 - 02:50 PM

@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

Edited by dagaz, 04 August 2012 - 03:02 PM.


#5   dagaz

dagaz
  • Members
  • 3 posts
  • Real Name:Ralf
  • Gender:Male
  • Location:USA

Posted 04 August 2012 - 03:13 PM

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

#6   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 04 August 2012 - 03:22 PM

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 >

#7   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 05 August 2012 - 03:58 AM

View Postdagaz, on 04 August 2012 - 03:13 PM, said:

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 >