Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

URGENT : Customer details mismatch in orders


Stewart Gilray

Recommended Posts

I run two stores for different clients, both sites are setup in pretty much the exact same way, however on one of them, we get an interesting problem...

 

Thing is it doesn't happen 99.9% of the time. In a year when we've had around 5000 orders it's happened no more than 10 times.

 

Basically...

 

The SHOWN customer details are wrong and do not match the order, however...

 

1. The Shipping Address is Correct

2. The Billing Address is Correct

3. The Card details are Correct

4. When searching for the customer in the customer list, the name IS that used in the shipping and billing details.

5. If I use the name listed in the Customer details as seen in the below image, there is NO customer of that name.

6. In the order list, it's under that of the details listed in the Customer info (as seen below).

7. The order confirm email is sent to the person listed in the Customer info as below.

8. No email is sent to the REAL customer.

 

cmpissue01.jpg

 

It's driving me crackers, as I've NO idea how or why it happens...

 

Any ideas please.

Link to comment
Share on other sites

  • Replies 64
  • Created
  • Last Reply

check if session storage has been set to database, if not, do that

 

your spiders are set to false for session allowed?

is it always the same person reused or random clients (maybe one that has just bought something rright before?)

 

probably a good idea to turn caching off also, if it still happens with sessions in the database.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

  • 2 weeks later...
check if session storage has been set to database, if not, do that

 

your spiders are set to false for session allowed?

is it always the same person reused or random clients (maybe one that has just bought something rright before?)

 

probably a good idea to turn caching off also, if it still happens with sessions in the database.

 

 

I am having the same problem all of a sudden. The only difference is I'm getting a lot of traffic now due to a new product. Forgive my ignorance, but I'm not sure where to change the things you suggested. The following is what I have set in sessions

 

session directory /tmp

force cookie use false

check ssl session id false

check user agent false

check IP address false

prevent spider sessions true

recreate session false

 

Is one or more of these wrong or am I looking totally in the wrong place?

Link to comment
Share on other sites

Marla, this spot is done correctly. Noch check cache and you catalog config file for the mysql entry for sessions.

 

Have you by chance added a hardcoded link to your new product somewhere? If it had the session ID, that would cause issues

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

good to hear. if your cookie settings are done correctly in the config file, your session id should disappear from the url after a few clicks on your site --- makes for less copying mistakes ;-)

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

the information is set in your configure.php files (includes folders) - called session storage, needs to be set to "mysql"

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Marla, this spot is done correctly. Noch check cache and you catalog config file for the mysql entry for sessions.

 

Have you by chance added a hardcoded link to your new product somewhere? If it had the session ID, that would cause issues

 

 

Monika,

I changed 'store session' to mysql in both config files and I thought that solved the problem but it happened again today. I also made sure that cache was set to false under admin. It was already set that way. I do not have a hardcoded link to my product.

 

Somebody out there has been telling alot of people about my site and posted a link to it from their site. I just checked and the link has a oscid on it. Could this be the problem and how would it I fix it other than telling every one that has a link to remove that from the link.

 

Thanks,

Marla

Link to comment
Share on other sites

Marla, yes that could cause it. All external links with session ids are a problem. Did you apply the latest patches so the tell a friend email does not have the oscID?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Marla, yes that could cause it. All external links with session ids are a problem. Did you apply the latest patches so the tell a friend email does not have the oscID?

 

 

No, I didn't do the patches yet. Will that also fix it so that if the user just clicks to make it a favorite it won't keep the id in the link? I will install the patches in the mean time.

 

Thanks,

Marla

Link to comment
Share on other sites

I have a client that's experiencing the same problem. After doing extensive research I've found that the orders/clients that are getting "mixed up" are orders places right next to each other i.e. 418 and 419 - The user_id's get mixed up. That's why the correct billing/address information shows up, but the customer information is wrong. This is also the reason why the right customer receives an email with an order they did not make, and the right customer doesn't.

 

I have examples and proof of this situation, and it has nothing to do with links containing session ids... this happened on two customers who live a world apart, and shop at the store all the time.

 

Does ANYONE know what's causing this to happen??

Link to comment
Share on other sites

good to hear. if your cookie settings are done correctly in the config file, your session id should disappear from the url after a few clicks on your site --- makes for less copying mistakes ;-)

 

 

Monika,

 

How should my cookie settings be set in my config file so the session id disappears?

 

Marla

Link to comment
Share on other sites

I was just wondering something... the only client I have who is having this problem is on a PHP5 server. I would be interested to hear if those of you who are experiencing this problem are also on PHP5.

 

Thanks!

Link to comment
Share on other sites

I was just wondering something... the only client I have who is having this problem is on a PHP5 server. I would be interested to hear if those of you who are experiencing this problem are also on PHP5.

Hi,

 

My client who has had this almost identical problem is on PHP 4.4.4 with MySQL 4.2.21.

 

In fact all my clients are on the same server (same versions) but only one has had this problem.

 

I guess we can eliminate that, maybe?

 

Garry

Garry

Link to comment
Share on other sites

Hi,

 

My clients orders were seven numbers apart from each other.

 

Just like with your client, one customer placed the order but another, already existing customer, got the delivery address and emails.

 

Garry

Garry

Link to comment
Share on other sites

I'm on PHP 4.4.2 and MySQL version 4.1.21-standard

 

I saw a problem once on another forum where 2 people tried to post at the exact same time and their usernames and messages got mixed up, I always wondered if that might have something to do with this problem

Link to comment
Share on other sites

I've had this problem today too.

 

Customer A has a customer profile, but did not buy anything.

Customer B does not have a customer profile, somehow managed to buy something, and customer A received the confirmation email.

Under 'orders' SOLD TO / CUSTOMER is customer A, SHIP TO AND BILLING ADDRESS is customer B.

 

It looks as if customer A placed the order, and set the billing address to customer B. (They have never met!!!)

 

I can see no way that they would have recieved a link to the store with a sessionID in it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...