Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How is this possible? - sudden checkout problem.


Nic du Toit

Recommended Posts

Sorted out various problems and got the site to operate flawlessly. (Live

Site went live for approximately two days..... received IPNs from PayPal re payment received from customers, who got their download links and were able to download.(Hurray!!)

 

Have not been near the admin pages of my site during that whole period, BUT: today I got emails from customers that their 'checkout' procedure takes them to the 'Your cart is empty' routine????

 

 

How can this happen???? Anybody knows what's happening here???

 

I'm at a total loss. I've got my admin side open at this very minute, and all seem to be fine.

 

 

This is driving me crazy. Any ideas, anyone????

 

Nic [ http://musicshop.etsga.org/index.html ]

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

For the guys following this thread....

Checkout my post "Configure.php...". It would appear that incorrect settings in the configure file were the cause of all this.

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

For the guys following this thread....

Checkout my post "Configure.php...". It would appear that incorrect settings in the configure file were the cause of all this.

 

Update! : After doing the changes....nothing changed.....on clicking 'checkout' the customer get logged off, and gets returned to 'your cart is empty'.

 

I give up !! :(

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

As far as I can see you aren't using the cookie domains (http and https) that I suggested.

 

They both were supposed to begin with a period and they don't.

 

And for some reason it's still trying to force cookie usage on the SSL side.

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

As far as I can see you aren't using the cookie domains (http and https) that I suggested.

 

They both were supposed to begin with a period and they don't.

 

And for some reason it's still trying to force cookie usage on the SSL side.

 

 

Ok, I've again changed the settings to what you suggested earlier;

For ease of reference I've attached the two config files... could you please have a look and advise me if you spot anything wrong?

 

Other settings in OSC admin;

 

Cache = true

 

In 'Sessions';

 

Session Dir = /tmp

Force cookies = False

Check SSL session ID = true

Check user agent = true

Check IP address = true

Prevent spider = true

Recreate session = false

 

Nic

configure.php

configure.php

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

  define('HTTP_COOKIE_DOMAIN', 'http://musicshop.etsga.org');
 define('HTTPS_COOKIE_DOMAIN', 'https://musicshop.c4.ixwebhosting.com');

Look again - That is not what I posted.

 

Also set "Recreate Session" to true in the admin.

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

  define('HTTP_COOKIE_DOMAIN', 'http://musicshop.etsga.org');
 define('HTTPS_COOKIE_DOMAIN', 'https://musicshop.c4.ixwebhosting.com');

Look again - That is not what I posted.

 

Also set "Recreate Session" to true in the admin.

 

 

:blush: Right....removed [ http://] and replaced it with [ .music.....org ]

(same for the https://).

And set 'recreate session' to true.

Thanks...appreciated.

Nic

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

Well that made a good difference on my end.

 

It holds the session (and the cart contents) with Firefox (3.0)

 

However the cart still dumps with IE7

 

How does it work with your browsers?

:unsure:

 

You might try making the cookie domains start with "www." and see if it helps.

 

The simple fact is that sometimes getting osC to work with shared SSL can be a real pain in the backside.

:blush:

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

Well that made a good difference on my end.

 

It holds the session (and the cart contents) with Firefox (3.0)

 

However the cart still dumps with IE7

 

How does it work with your browsers?

:unsure:

 

You might try making the cookie domains start with "www." and see if it helps.

 

The simple fact is that sometimes getting osC to work with shared SSL can be a real pain in the backside.

:blush:

 

Yep....it now holds the item in the cart ( and I stay Logged in).....However....and this is rather strange....

 

On a previous 'test' I loaded a track called (All wrapped.....) in the cart.

When I returned for the present test (a few moments ago), logged in (dummy customer)and noticed that the cart remembered the previous addition (All wrapped....). I then picked another track and added it to the cart. When I got to the /confirm/ page I deleted the 'All wrapped...' track. So, now there should be only the present track in the cart.....clicked continue....and the confirmation page still showed the previous selection in the cart.....the present one was not shown....HOWEVER, get this, when I clicked on "What's in my cart" it showed the track I selected during this session.

Ok, so I click 'continue....got to the confirmation page, and the track from the previous session is listed, but not the present one.

Hope I explained this ok.

 

It seems as if the sessions don't update itself....Or????

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

Yep....it now holds the item in the cart ( and I stay Logged in).....However....and this is rather strange....

 

On a previous 'test' I loaded a track called (All wrapped.....) in the cart.

When I returned for the present test (a few moments ago), logged in (dummy customer)and noticed that the cart remembered the previous addition (All wrapped....). I then picked another track and added it to the cart. When I got to the /confirm/ page I deleted the 'All wrapped...' track. So, now there should be only the present track in the cart.....clicked continue....and the confirmation page still showed the previous selection in the cart.....the present one was not shown....HOWEVER, get this, when I clicked on "What's in my cart" it showed the track I selected during this session.

Ok, so I click 'continue....got to the confirmation page, and the track from the previous session is listed, but not the present one.

Hope I explained this ok.

 

 

UPDATE I'm now on my admin PC..... did very little work for the program on this PC.... All the editing and setup was done on my other, much faster, PC.

That said.... Here's a rundown on what I found, accessing the site via ][ http://musicshop.etsga.org/index.html ]

 

(Firefox 6 on both PCs.)

 

The landing page, via link, took me to the Catalog page.

1 . clicked on 'My Account. at top of page,

2. do the dummy login

3. goes to 'My Account Information' page

4. On the right hand side box, it showed "All wrapped up..." being in the cart.

5. Clicked on 'View Cart Contents'...... shows cart empty !!

6. click 'continue'....get's taken back to 'Catalog' page.

7. Select 'You ask me to' song....click 'add to cart' and in the right hand box it shows this song as being in the cart...(in red letters)

8. click on 'checkout'....goes to 'Payment Information' page....and shows "All Wrapped up...." as being in the cart!!!!

9. click on 'continue', and "All Wrapped up...." is still shown.....

Click 'Confirm Order' at the bottom of the page, which then takes me to the PayPal page.

 

 

It seems as if the sessions don't update itself....Or????

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

I'd take the "www" out of the cookie domains and have them start with the "." (period).

 

Then in the config file change this:

 

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

To:

 

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

If that doesn't work I give up.

 

Like I said, sometimes shared SSL and osC don't play nice together.

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

I'd take the "www" out of the cookie domains and have them start with the "." (period).

 

Then in the config file change this:

 

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

To:

 

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

If that doesn't work I give up.

 

Like I said, sometimes shared SSL and osC don't play nice together.

 

Thanmks..... I'll try that.

Just waiting for my 'live' checker to wake up.... Already past midday here by us....early morning for my USA friends! ... :)

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

Jim, after the changes were made, nothing changed, BUT an hour or two later, the site suddenly started to respond correctly, and site navigation has also improved significantly.

Just prior to the problem, the site navigation slowed down to a crawl....now is performing quick and flawless.

 

Wonder if the server did anything?.... guess I'll never know what the real problem was.... Oh well, it works.

Thought you'd like to know.

 

Thanks for your patience and good advice....really appreciated.

Regards,

Nic

I used to be indecisive....but, now I just don't know anymore.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...