Re: Duplicate Orders/Order Confirmation
And while you're at it you might as well fix another small error in the same file.
Change:
Code:
function button_timeout() {
document.checkout_confirmation.submit.disabled = false;
}
To:
Code:
function button_timeout() {
document.checkout_confirmation.btn_submit.disabled = false;
}
Re: Duplicate Orders/Order Confirmation
Since I have made the changes to my live shop (and switched back the session saving from files to database) we have had no duplicate orders.
Also another issue I had with a typical Dutch payment method seems to be solved. Before I often had two transactions per order with this module (which did not lead to duplicate orders, so it was not a big problem). The first of the two transactions always expired and the second always was the "real" transaction. Until now I have not seen this happening anymore.
Maybe it's a bit early to draw conclusions after a couple of days and a limited amount of orders, but so far it looks very good :smile:
I attached a fixed file to this post for 1.3.6 - 1.3.8, and possibly other versions.
(of course you need to put back the onsubmit="submitonce();" if it has been removed, if you don't the fix won't make any difference).
Re: Duplicate Orders/Order Confirmation
G'day,
Just where does one switch session saving from files to database?
Best Regards, Lloyd Borrett.
Re: Duplicate Orders/Order Confirmation
Hi Lloyd,
you would need to edit your includes/configure.php file (the is a setting for it somewhere at the bottom).
But are you sure your sessions are saved into files currently? By default the sessions are saved into the database, and then there is no need to change it.
(I only mentioned it because I had said earlier that I changed this setting to fix the duplicate orders problem, but after the submitonce fix I changed it back to the default)
Re: Duplicate Orders/Order Confirmation
Happening to me also. I get an order that does not show the items and then the next order number with the items and Paypal payment info.. Really strange.
I applied the fix file and have the sessions going to the database. I am going to try file sessions.
Steve
Re: Duplicate Orders/Order Confirmation
Same problem with file sessions. It looks like Paypal is creating a new session on the return???
Steve
Re: Duplicate Orders/Order Confirmation
Just noticed that none of the notification emails are being sent on the lower order number.
If I enter an order, I get an order number 10 that has no products itemized. It only shows totals and no email order is generated.
I will also get an order number 11 that will have the products itemized and all the Paypal info in it. It also sends the order email.
Any Thoughts???
Steve
Re: Duplicate Orders/Order Confirmation
I think the issue you have is not related to the topic of this thread (although the issue may seem similar maybe) and so it's probably better to start a new thread about it?
Re: Duplicate Orders/Order Confirmation
I decided to start a thread about this issue in bug reports:
http://www.zen-cart.com/forum/showthread.php?p=544255
And I will move the attachment with the fixed js file to that thread.
Re: Duplicate Orders/Order Confirmation
Hi,
I am still having the issue of duplicate payments on every order that is processed via Zen Cart on Paypal IPN. I have tried all the fixes mentioned and still happening in all browsers including FF.
Any help would be greatly received.
Many Thanks
Richard