Forums / General Questions / Customer Not Being Charged For One Item On Their Order-Random Problem

Customer Not Being Charged For One Item On Their Order-Random Problem

Results 1 to 20 of 72
23 Jul 2015, 20:04
#1
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Customer Not Being Charged For One Item On Their Order-Random Problem

I noticed that one order from a customer came in and the amount they were charged for an item was $0.00. The item was not free, though. I went behind the scenes and looked at the product and the attributes and it all looked fine. I tried to duplicate the problem and it did duplicate (the first item in the cart came up as $0.00). I deleted that cart and tried to make it happen again, it would not. Everything worked well from then on. This was at order 85.

Today, I looked at order 100 and the first item in the order was again $0.00. The item was not free. I had no problems in any other orders I have seen, just those two.

I called PayPal and they told me the problem was on my end. The PayPal invoice shows nothing for the items bought, i.e. if the customer was not charged for the item it does not appear on the PayPal invoice at all.

What could be causing this? It happens on the first item on the purchase orders (so far). Each item which came up as $0.00 was a different product, too, which leads me to suspect that it's the fact that it is the first item on the order and not what is being ordered. Thank you for any help you can give.
23 Jul 2015, 20:08
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

A link to your site will assist
23 Jul 2015, 21:02
#3
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

Not a problem: http://www.possets.com

I am using PayPal Express Checkout as my module, but I don't think that is where the problem lies. My server is 1and1 and is using PHP version 5.4.42, MySql 5.1.73

The first time I noticed that there was a problem was from the 17th of July and today. I had not noticed anything like this before.
23 Jul 2015, 21:25
#4
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

One other thing, both of the problems were with orders going to New York (Hudson Falls and Rocky Point).
23 Jul 2015, 22:49
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

What plugins are installed, is this site an upgrade from before? How was it upgraded? What were the source of the upgraded fles (if an upgrade?) Are there files in the includes/modules/pages folders that were "renamed" that stll end in .php?
At what point in the process does the first item show as $0.00?
23 Jul 2015, 22:52
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

fabienne:

One other thing, both of the problems were with orders going to New York (Hudson Falls and Rocky Point).


Was it the same product?

Were both products in the same category?

Did both products have attributes ?

I seriously doubt that the order destination is the common denominator. That is more likely to be a coincidence. The cause is far more likely to be with the product(s) themselves.

I've tried to duplicate the problem using your site, but didn't find anything amiss, so it may help narrow things down if you could provide a link to the product(s) that you know have had a problem. If it IS product related we could spend days adding products to a cart for testing before we stumble across it.

Cheers
RodG
23 Jul 2015, 22:56
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

mc12345678:

What plugins are installed, is this site an upgrade from before? How was it upgraded? What were the source of the upgraded fles (if an upgrade?) Are there files in the includes/modules/pages folders that were "renamed" that stll end in .php?


You forgot to ask what color underwear s/he was wearing :-)

mc12345678:


At what point in the process does the first item show as $0.00?


Finally, a question that is relevant to the issue being reported :-)

Cheers
RodG
24 Jul 2015, 12:08
#8
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

OK, I will try to answer all of your questions but I am going to have to take a break and go search for the answers to some so please bear with me.

First, and most interesting, the color of underwear I am wearing. I suppose you think I AM wearing underwear. That question shall be answered at the end of my answers so stay tuned.

The site is upgraded from (I believe) 1.3.x. It was upgraded the old fashioned way (not automatically from my webhost).

The source of the upgraded files was here, on Zencart. I don't recall anything being renamed. I have a renamed admin folder but that is pretty common for security reasons and I have not seemed to have a problem stemming from that (which I think would be a more consistent problem than what I have now).

The site was updated around June 20, 2015 and I just started to catch $0 items on 7/17. Then there was one more on 7/23. Both errors were the first item ordered. I suspect that is significant but I am not sure about that. They were both from NY state and I don't think that is significant but I could be wrong.

The list of plug ins will follow later, I have a lot of them. If there is an easy way to list them, please tell me what it is and that would make matters easier and faster.

The error was NOT with the same product, the error was in the same category (Permanent Blends). Both products did have attributes (different prices for different sizes).

One of the products was 301 and the other was Gelato: Vaniglia.

I have only had that problem with those two products so far. If I get a third error and it's the first item in the order, I will say I deeply suspect the first place item. I have also had very random success duplicating this problem.

More later, like the list of my plug ins and the all-important color of underwear.
24 Jul 2015, 13:41
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

@fabienne, I appreciate your sense of humor!
24 Jul 2015, 16:29
#10
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

OK, here is the list of plug ins which I am sure are on the site. There may be more. I am not an expert in ZenCart but I can fix a few things. The plug ins which were put on the cart AFTER the problem started are marked with an *. Here they are:
  • Image Handler 4
  • MailBeez*
  • Google Merchant Center Feeder*
  • Easy Populate 4
  • Site Map XML
  • Testimonials Manager
  • Recover Cart Sales *
  • Simple SEO URL Manager*
  • Sales Report With Graph
  • Sales Report
  • PayPal Express Checkout
  • Google Analytics
  • Genesis Themes Configuration
  • FedEx
  • UPS
  • USPS

If there are any more, I will update this list. If there is something I missed I can certainly add it later.
24 Jul 2015, 16:54
#11
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

Attachment #15454
Lucky you, it's Celebrate Team Palermo Day. As you are undoubtedly aware, the colors of soccer Team Palermo are Pepto-Bismol pink and black. So, one's delicates should follow suit, so to speak. Yes, that is a real faux team shirt on the left, a fugazzi as they say. The crest of Team Palermo features a falcon.

Now that you know this, does this help with the mystery? :laugh:
25 Jul 2015, 00:12
#12
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

fabienne:


First, and most interesting, the color of underwear I am wearing. I suppose you think I AM wearing underwear. That question shall be answered at the end of my answers so stay tuned.


I've just tried to replicate the problem again, this time while wearing the same coloured underwear (the wife wasn't very impressed though- she says I stretched them). Alas, that didn't cause the problem to show either (I did look cute though) :-)

fabienne:

Both errors were the first item ordered. I suspect that is significant but I am not sure about that.


I agree 100% - this does seem to be significant - in fact so far it is the only thing that I can see that is significant.

fabienne:


They were both from NY state and I don't think that is significant but I could be wrong.


I still say probably NOT significant, but not entirely ruled out - at least not yet.

fabienne:


The list of plug ins will follow later,


I seriously doubt that any of these would be of relevance or importance.

fabienne:


The error was NOT with the same product, the error was in the same category (Permanent Blends). Both products did have attributes (different prices for different sizes).
One of the products was 301 and the other was Gelato: Vaniglia.


Thanks. This is/was important (for me) to know. I'm now pretty confident that the problem has nothing to do with any particular product - However, I *will* be restricting my further tests/checks to these two products *just in case*. (The idea is to replicate the fault conditions as close as possible).

fabienne:


I have only had that problem with those two products so far. If I get a third error and it's the first item in the order, I will say I deeply suspect the first place item. I have also had very random success duplicating this problem.


Among some of the pointless questions asked of you was one very important one that you've not really answered, and that was the one given by mc1-8, specifically:
"At what point in the process does the first item show as $0.00?"

Just to expand on this a little, and based on the fact that *you* have seen the problem 'in action' (as opposed to just seeing the results in the orders placed), AND the fact that you've stated that it is always the first item ordered, this implies that for the 'problem' to occur there must be at least two items in the cart.

If this correct, does the 1st item show a valid price until the second item is added, or does it show the zero price when it is added (in which case, the second and/or subsequent items are insignificant to the cause).

Another reason why this is such an important question is because of the possibilty that the in-cart products have a correct/valid price at all times, and the price of the 1st item is somehow getting set to zero while the data is being sent/processed by the PayPal/order related code.

The fact that you've (apparently) seen the zero cost item in the cart itself means that we can eliminate the 'after cart' processing as being the source of the problem. In addition to this, and assuming that you haven't been logged into the site using a NY address when you've been able to replicate the problem would mean that we can positively rule this (and several other things) out as being a possible cause.

The answer to "At what point in the process does the first item show as $0.00?" may not give us an answer/solution to the problem, but it can/will narrow down the search (and possible causes) tremendously.

Cheers
RodG
25 Jul 2015, 00:26
#13
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

fabienne:

Now that you know this, does this help with the mystery? :laugh:


LOL, well it has solved a mystery, but nothing to do with the actual problem. :lamo::wow:

Cheers
RodG
25 Jul 2015, 00:26
#14
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

OK, the software was installed on June 20 and the problem started to show up that I noticed on 7/17. However, I am going to go back over all of the orders from 6/20 on and see if I can find an earlier one. This was from the aspect of the natural paranoid. There might have been one out there somewhere. Let me check and find out.

Glad you liked the undies. I bet your wife said,"Oh, Team Palermo? Good choice, paisan!"
25 Jul 2015, 00:32
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

fabienne:

OK, the software was installed on June 20 and the problem started to show up that I noticed on 7/17. However, I am going to go back over all of the orders from 6/20 on and see if I can find an earlier one. This was from the aspect of the natural paranoid. There might have been one out there somewhere. Let me check and find out.


Do this for your own benefit/satisfaction only. Whatever you find almost certainly *won't* help in the way of further diagnosis.

Cheers
RodG
25 Jul 2015, 02:26
#16
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

I will give it another try tomorrow, that is try to replicate it all. We shall see when exactly it shows up IF I can make the error appear again.
25 Jul 2015, 06:05
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

Noticed something unusual.

After adding a product to the cart that had an attribute selected that was not the first attribute in the list of attributes, was returned to the product but the attribute "chosen" was the first attribute not the one selected. It is almost as if the prid is stripped/lost/incorrectly assigned. Also, the products_id should have been in the uri it seems even though simple SEO URL Manager is installed. But on further inspection, the prid is hidden in the cart source data, so no wouldn't expect it in the uri then.

Same issue occurs if the uri is directly entered to go to the products_id that is hidden in the cart, further indicating that at least that part seems "scrambled" either in generation of the prid or in decyphering it...
25 Jul 2015, 06:52
#18
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

Happened for items in that original category as well as the 4 Seasons Summer (Kuniyoshi) product found in the summer of elegance 2015 category... So not specifically category dependent, but evidenced in the one category..

Btw, suggest adding a default, display only attribute to your attribute selection with something like "Please choose a size..." Or some other wording so that adding the item to the cart immediately upon display doesn't always result in the smallest size and potential returns... Ideally the template supports displaying the resulting message to do just that "Please choose a size..." Or whatever words have been chosen.
25 Jul 2015, 14:33
#19
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Posts:
246
Plugin Contributions:
0

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

Thanks for the suggestion about the display. I will definitely put that in my list of things I am going to change on the cart. I really don't understand your prior message, a bit over my head. But it sounds like you found a potential cause for the trouble.

By the way, I did go through all of the orders from the time the new cart was installed, and those were the only two cases where the customer was charged $0.00 for the product. Now I can say that with certainty. I also went through my e-mails and didn't see that anything had been done to the cart on 7/16 or 7/17, so it was not caused by a specific action we had performed on the cart.
26 Jul 2015, 03:45
#20
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Customer Not Being Charged For One Item On Their Order-Random Problem

fabienne:

Thanks for the suggestion about the display. I will definitely put that in my list of things I am going to change on the cart.


Personally I don't think this is necessary - If the customer doesn't see the big bold 'Please Choose' text above the dropdown and just hits the 'add to cart' it probably means that they *want* the default smallest size. Just my opinion.

fabienne:


I really don't understand your prior message, a bit over my head.


Would it make you feel any better if I say 'Me too' - I *think* I know what he was saying, but I've not been able to replicate the findings (as I understand them). LOL.

fabienne:


But it sounds like you found a potential cause for the trouble.


Maybe, maybe not. Although I don't think his findings/observation is *directly* related to the zero cost issue, it is along the lines of what I'm thinking it *could* be - namely, *something* related to the product attributes.

Where as mc1-8 has observed that "the selected the attribute "chosen" was the first attribute not the one selected" (which as I say, I've not been able to replicate), the 'theory' that I have (which is actually more of a guess than a theory) is that somehow or other, the product, when added to the cart, doesn't have *any* attribute selected, and since your products are priced by attributes, then if none are selected the price of the item will end up being zero.

Question: With the orders you've observed with the zero price, does the order show the size of the product selected (as it should do)?
If they *don't* show a selected attribute/size then my guess/theory would tend to suggest it has some merit.

It still won't actually solve the problem, but it will take us one step closer to the cause, and if this does turn out to be the cause, then the suggestion to add a read-only 'please select' to the dropdowns may in fact be a *solution* (OTOH, it could also, in theory aggravate the problem if it is still possible to 'add to cart' without making a selection - as the 'default' then would be 'no attribute = no price'.
With the way things are, the 'default' (no selection) will (or *should*) always ensure 'valid' attributed product is added (which is where my theory/guess tends to fall apart).

fabienne:


By the way, I did go through all of the orders from the time the new cart was installed, and those were the only two cases where the customer was charged $0.00 for the product


BTW, do you happen to have the SBA (Stock by attributes) module installed?

Cheers
RodG