This is a discussion on Duplicate Orders within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; My shop has been up and running for quite some time. All of a sudden, today, I'm getting duplicate orders. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| My shop has been up and running for quite some time. All of a sudden, today, I'm getting duplicate orders. Not only is the order duped, it's charging the CC twice as well. Anyone else experience this, and if so what's the fix? John PS: I should mention that is is only occurring when the Linkpoint CC module is used during checkout. If I submit an order with "Phone/Fax CC info, the order is not duped. Last edited by driwashsolutions; 02-12-2008 at 11:30 AM. |
|
#2
| |||
| |||
| I'm seeing this with Authorize.net with heavy traffic also...no clue yet.. I'm thinking: someone clicks Submit Order....pause...click it again in the meantime, the first order is waiting for authorize.net (or linkpoint) to respond. when second click comes in, another transaction is sent to authorize.net and leads to a second duplicate order and charge |
|
#3
| |||
| |||
| Well I think I know what's happening... Submit -> start order 1 -> send packet to authorize.net/linkpoint via Curl (process waits) User presses Submit again -> start order 2 -> send packet, wait for authorize.net/linkpoint/paypal order 1 -> process order...but, transaction cancelled by browser on second submit, does not return anything to user. order 2 -> processed order...return order #2 to browser and checkout_success (or error, back to payment)... Now, what to do...ideally, set a session flag on order submit, then on second submit if flag set, need to wait for order result from 1st transaction and return that result to browser....this sounds like a lot of work.... |
|
#4
| |||
| |||
| Here's a "pretty good" solution. Doesn't completely solve the problem but will help mitigate it: in checkout_confirmation.tpl.php (in template directory) around line 210, where it makes the form, use this code below: ---------------- echo tep_draw_form('checkout_confirmation', $form_action_url, 'post', 'name="orderform" id="orderform" onsubmit="btnSubmit.disabled=true; document.images.imgworking.src = \'images/ajax-loader.gif\'; " '); if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } echo '<img src="images/pixel_trans.gif" border="0" id="imgworking" >'; echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER, ' name="btnSubmit" id="btnSubmit" ') . '</form>' . "\n"; ---------------- this disables the submit button and loads an ajax spinner while they wait. you can find the graphic if you search google images. good luck, ---avibodha |
|
#5
| |||
| |||
| We just had a "pulse" test, 60 orders in just a few minutes. Previously we had 150 orders in 15 minutes and had about 7 duplicates. Today, no duplicates. So I'd say it's a success for us. (We do kids camp registrations where there are limited seats and very motivated parents) |
|
#6
| |||
| |||
| i don't have templates and tried this it didn't work i have the same problem. some times it takes a little while to load and the customer presses again. can you help make this work? thanks |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplicate Category Name | polarbaby | osCMax v2 Features Discussion | 4 | 01-29-2008 01:12 PM |
| Duplicate Shipping Modules | ChrisP666 | osCMax v2 Customization/Mods | 1 | 10-01-2007 08:34 PM |
| duplicate number of orders entered.. what am i to do? | ogilirca | osCommerce 2.2 Modification Help | 0 | 09-25-2006 11:15 AM |
| Get duplicate orders in customers orders | heaven | osCommerce 2.2 Discussion | 0 | 11-07-2005 04:29 AM |
| Duplicate installation | Lotte | osCommerce 2.2 Installation Help | 0 | 05-19-2005 08:57 AM |