Zen Cart Logo
Forums / Managing Customers and Orders / Duplicate Orders/Order Confirmation

Duplicate Orders/Order Confirmation

Views: 65,572

Results 41 to 60 of 131
13 Jun 2008, 10:39 PM
#41
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Duplicate Orders/Order Confirmation

Just happened to me too. Two orders, with two different order numbers were placed 1 second after each other. Paypal IPN payment. Both paypal payments in both orders show same Trans. ID.

In PayPal account only one payment shows up. So it seems like two orders got generated with the same payment applied and the customer got charged only once. (at least this)!

Interesting that no team member has posted on this one. Seems to be a pretty crucial problem. :unsure:

23 Jun 2008, 11:02 PM
#42
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

Hi. I am also getting this problem on one site since I upgraded to 1.3.8a. Can someone from Zencart help out please. Thanks.

23 Jun 2008, 11:17 PM
#43
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

I think its just when Paypal processes the payment. Seems if paying by "I will call by payment" ort something similar that doesnt require Paypal, it works OK, but when using Paypal, 2 orders get added (sometimes 3).

23 Jun 2008, 11:32 PM
#44
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

I tried this solution http://www.zen-cart.com/forum/showthread.php?t=95195 and it seems to have worked so far. It says the problem is only in IE and not Firefox, but in fact I had the problem in Firefox too but this seems to have fixed it for me so far.
Thanks

25 Jun 2008, 10:50 AM
#45
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

I spoke too soon. It seemed to work but it has not. The problem has come back. Please can someone at Zencart help us out?
Thanks

25 Jun 2008, 11:12 AM
#46
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

I found this thread also http://www.zen-cart.com/forum/showthread.php?p=575622#post575622. This is interesting. Perhaps its the Paypal timeout issue and so it sends another request, rather than a Zencart issue?

30 Jul 2008, 11:37 PM
#47
chadderuski avatar

chadderuski

Totally Zenned

Join Date:
Apr 2006
Location:
Dark Side of the Moon
Posts:
986
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

Okay, I have been trying to figure this one out myself. The store has been running on 1.3.8a for nearly a year when about two months ago it began to create duplicate and now triple order .... same products, same buyer but with different order number and sent through Authorize.net.

My client spoke with Authorize.net and he says they do not feel it's on their side because of the different order numbers.

How can zencart duplicate an order and give it a new order number?

I am at a loss. I used the patch from another thread for the submit, and also made sure I'm using file based caching.

The problem is random. Several orders will come through okay, then BAM it does a triplicate!

HELP??

BTW this was with credit card and authorized.net AIM module, not paypal

2 Aug 2008, 6:11 PM
#48
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

rubear:

Hi

This has happened to me six times in the last two weeks - does anyone have any ideas why?
We just received two sets of triplicate orders on 07/25!! This really screws things up. I'm using 1.3.8a and SecurePay. Luckily SecurePay caught most of them as duplicates.
:censored:

3 Aug 2008, 1:11 PM
#49
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

chadderuski:

BTW this was with credit card and authorized.net AIM module, not paypalThe SecurePay and authorize.net modules are implemented in similar ways. This has me intrigued: http://www.zen-cart.com/forum/showpost.php?p=532773 , but I'd like to do my own research first.

3 Aug 2008, 9:48 PM
#50
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

paulm:

I think I found the problem!
<snip> So I decided to comment out the above line like this:

function submitonce(){
if (document.checkout_confirmation.btn_submit) {
document.checkout_confirmation.btn_submit.disabled = true;
setTimeout('button_timeout()', 4000);
/* document.checkout_confirmation.submit(); */
}
}

>  
> After that I have done lots of tests again and I didn't get any duplicate submissions.I just tried this fix on my site w/IE7.. ..it didn't even prevent the submit from being clicked more than once. I submitted three orders without any prevention. I'm certain I waited for the form to be fully loaded the first time. Perhaps I had the javascript cached?
3 Aug 2008, 9:59 PM
#51
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

I did a 'view source' to make sure I saw the change in the javascript. It's the new one, and the btn_submit matches the form code too. It doesn't prevent two submits!

3 Aug 2008, 11:48 PM
#52
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

...the view source shows the javascript content is commented out! I can't find out where this is included or commented out yet.

4 Aug 2008, 12:01 AM
#53
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

dhcernese:

...the view source shows the javascript content is commented out! I can't find out where this is included or commented out yet.ignore that post. i would delete it except for this stupid 7 minute limit. I was thrown by the syntax:

<script language="javascript" type="text/javascript"><!--

I thought it was all commented out.

17 Aug 2008, 8:40 AM
#54
janks avatar

janks

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
1

Re: Duplicate Orders/Order Confirmation

Hi all,
Has anyone found a confirmed fix for this problem?
My store has started duplicating orders from PAYPAL today...
I receive (2) orders with unique order numbers in my backend,
also (2) confirmations to my email but only one payment is submitted
from paypal (which is a bit reassuring)

But all in all its a very weird problem because i didn't change anything at all...

My main concern is messing up my stock counts because i rely on
zen cart to track my inventory. :shocking:

I havn't tried any of the fixes on this thread yet due to little feedback..
Just want to be sure before i start messing with code.

Thanks to everyone in advance.

17 Aug 2008, 9:05 AM
#55
janks avatar

janks

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
1

Re: Duplicate Orders/Order Confirmation

Some thing is strange in the file, line 11 or 12....

<?php
/**
 * jscript_main
 *
 * @package page
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
 * @version $Id: jscript_main.php 3234 2006-03-21 20:13:20Z drbyte $
 */
?>
<script language="javascript" type="text/javascript"><!--
var submitter = null;
function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,left=150')
}

function submitFunction($gv,$total) {
   if ($gv >=$total) {
     submitter = 1;	
   }
}

function submitonce(){
  if (document.checkout_confirmation.btn_submit) {
    document.checkout_confirmation.btn_submit.disabled = true;
    setTimeout('button_timeout()', 4000);
    /* document.checkout_confirmation.submit(); */
  }
}

function button_timeout() {
  document.checkout_confirmation.btn_submit.disabled = false;
}
/
17 Aug 2008, 4:37 PM
#56
craigkendall avatar

craigkendall

New Zenner

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

Re: Duplicate Orders/Order Confirmation

janks:

Hi all,
My store has started duplicating orders from PAYPAL today...

PayPal is the only payment option in my two stores where I saw this yesterday. Do you have other payment methods that did not cause this to happen? If so, that would be very interesting. I too changed nothing in either of the client's stores where I saw this happen yesterday.

17 Aug 2008, 8:50 PM
#57
dab avatar

dab

New Zenner

Join Date:
Jan 2007
Location:
UK
Posts:
62
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

I also have had this problem for the first time today on ZC 1.37

I have Paypal IPN and Nochex as payment options, and the problem only seems to be with Paypal.
Two order numbers were created, with identical time stamps, and transaction ID's, but only one payment received.

I have only had the one Paypal order this weekend, so I will see if it continues to happen.

18 Aug 2008, 2:37 PM
#58
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

janks:

Some thing is strange in the file, line 11 or 12...
clarify what you mean by "strange" ??

18 Aug 2008, 5:46 PM
#60
natallia avatar

natallia

New Zenner

Join Date:
Apr 2008
Location:
Canada
Posts:
62
Plugin Contributions:
0

Re: Duplicate Orders/Order Confirmation

DrByte:

The PayPal issue is a system bug on the PayPal end, which was resolved this morning: http://www.pdncommunity.com/pdn/blog/article?message.uid=92385
Does that mean we donot have to do anything on our side? Because I just received yet another duplicate order (5 min. ago ) .

Thank you!