Hello,
I'm a developer that has inherited a not-so-ideal implementation of Zen Cart... One of the first tasks that i was given was to prevent duplicate orders that has been happening pretty frequently.
On step 3 of 3, when the user clicks the confirmation button, depending on the amount of items in the cart, network traffic, it can take several seconds to finish.
If the user gets impatient and clicks the submit button again, this will send another request which will cause a duplicate orders.
So we added some JS to make the submit button disappear after the first click. While this helped a great deal, it's still possible to create dupes by disabling JS (in IE especially).
Has anyone found a viable solution to prevent this from happening? I believe this final step should an all or nothing type of deal, but the user can get some strange results depending on when they click on that button again...
Thanks in advance




