Duplicate orders
-
Hi,
I’m having issues on a site with duplicate orders I was hoping someone could help me with. Orders being made with this payment gateway are appearing twice in the admin, a couple of minutes apart, with separate order numbers but identical transaction numbers.
In looking at the logs I can see the request being made twice just over a minute apart. The first order (with personal information redacted):
08-08-2018 @ 00:23:38 - WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.paypal.com/nvp with params: Array ( [TOKEN] => EC-3MC04675589166931 [PAYERID] => KZEQPNMXL44V8 [PAYMENTREQUEST_0_AMT] => 118.79 [PAYMENTREQUEST_0_ITEMAMT] => 101.87 [PAYMENTREQUEST_0_SHIPPINGAMT] => 14.95 [PAYMENTREQUEST_0_TAXAMT] => 7.77 [PAYMENTREQUEST_0_SHIPDISCAMT] => -5.8 [PAYMENTREQUEST_0_INSURANCEAMT] => 0 [PAYMENTREQUEST_0_HANDLINGAMT] => 0 [PAYMENTREQUEST_0_CURRENCYCODE] => USD [PAYMENTREQUEST_0_NOTIFYURL] => https://atpscience.com/wc-api/WC_Gateway_PPEC/ [PAYMENTREQUEST_0_PAYMENTACTION] => sale [PAYMENTREQUEST_0_INVNUM] => WC-28724 [PAYMENTREQUEST_0_CUSTOM] => {"order_id":28724,"order_number":"28724","order_key":"wc_order_5b69ab392e0db"} [NOSHIPPING] => 0 [PAYMENTREQUEST_0_SHIPTONAME] => REDACTED [PAYMENTREQUEST_0_SHIPTOSTREET] => REDACTED [PAYMENTREQUEST_0_SHIPTOSTREET2] => [PAYMENTREQUEST_0_SHIPTOCITY] => REDACTED [PAYMENTREQUEST_0_SHIPTOSTATE] => VA [PAYMENTREQUEST_0_SHIPTOZIP] => 20148 [PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US [L_PAYMENTREQUEST_0_NAME0] => Amp-V [L_PAYMENTREQUEST_0_DESC0] => [L_PAYMENTREQUEST_0_QTY0] => 1 [L_PAYMENTREQUEST_0_AMT0] => 39.99 [L_PAYMENTREQUEST_0_NAME1] => Multi Food [L_PAYMENTREQUEST_0_DESC1] => [L_PAYMENTREQUEST_0_QTY1] => 1 [L_PAYMENTREQUEST_0_AMT1] => 39.99 [L_PAYMENTREQUEST_0_NAME2] => BCAA 2:1:1 - 250g [L_PAYMENTREQUEST_0_DESC2] => [L_PAYMENTREQUEST_0_QTY2] => 1 [L_PAYMENTREQUEST_0_AMT2] => 18.99 [L_PAYMENTREQUEST_0_NAME3] => Line Item Amount Offset [L_PAYMENTREQUEST_0_DESC3] => Adjust cart calculation discrepancy [L_PAYMENTREQUEST_0_QTY3] => 1 [L_PAYMENTREQUEST_0_AMT3] => 2.9 [L_PAYMENTREQUEST_0_NAME4] => Line Item Amount Offset [L_PAYMENTREQUEST_0_DESC4] => Adjust cart calculation discrepancy [L_PAYMENTREQUEST_0_QTY4] => 1 [L_PAYMENTREQUEST_0_AMT4] => 0 [METHOD] => DoExpressCheckoutPayment [VERSION] => 120.0 [BUTTONSOURCE] => WooThemes_EC [USER] => REDACTED [PWD] => REDACTED [SIGNATURE] => REDACTED )
And the second order, just over a minute later:
08-08-2018 @ 00:25:05 - WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.paypal.com/nvp with params: Array ( [TOKEN] => EC-3MC04675589166931 [PAYERID] => KZEQPNMXL44V8 [PAYMENTREQUEST_0_AMT] => 119.83 [PAYMENTREQUEST_0_ITEMAMT] => 100.89 [PAYMENTREQUEST_0_SHIPPINGAMT] => 14.95 [PAYMENTREQUEST_0_TAXAMT] => 7.84 [PAYMENTREQUEST_0_SHIPDISCAMT] => -3.85 [PAYMENTREQUEST_0_INSURANCEAMT] => 0 [PAYMENTREQUEST_0_HANDLINGAMT] => 0 [PAYMENTREQUEST_0_CURRENCYCODE] => USD [PAYMENTREQUEST_0_NOTIFYURL] => https://atpscience.com/wc-api/WC_Gateway_PPEC/ [PAYMENTREQUEST_0_PAYMENTACTION] => sale [PAYMENTREQUEST_0_INVNUM] => WC-28725 [PAYMENTREQUEST_0_CUSTOM] => {"order_id":28725,"order_number":"28725","order_key":"wc_order_5b69ab93740a6"} [NOSHIPPING] => 0 [PAYMENTREQUEST_0_SHIPTONAME] => REDACTED [PAYMENTREQUEST_0_SHIPTOSTREET] => REDACTED [PAYMENTREQUEST_0_SHIPTOSTREET2] => [PAYMENTREQUEST_0_SHIPTOCITY] => REDACTED [PAYMENTREQUEST_0_SHIPTOSTATE] => VA [PAYMENTREQUEST_0_SHIPTOZIP] => 20148 [PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US [L_PAYMENTREQUEST_0_NAME0] => Amp-V [L_PAYMENTREQUEST_0_DESC0] => [L_PAYMENTREQUEST_0_QTY0] => 1 [L_PAYMENTREQUEST_0_AMT0] => 39.99 [L_PAYMENTREQUEST_0_NAME1] => Multi Food [L_PAYMENTREQUEST_0_DESC1] => [L_PAYMENTREQUEST_0_QTY1] => 1 [L_PAYMENTREQUEST_0_AMT1] => 39.99 [L_PAYMENTREQUEST_0_NAME2] => BCAA 2:1:1 - 250g [L_PAYMENTREQUEST_0_DESC2] => [L_PAYMENTREQUEST_0_QTY2] => 1 [L_PAYMENTREQUEST_0_AMT2] => 18.99 [L_PAYMENTREQUEST_0_NAME3] => Line Item Amount Offset [L_PAYMENTREQUEST_0_DESC3] => Adjust cart calculation discrepancy [L_PAYMENTREQUEST_0_QTY3] => 1 [L_PAYMENTREQUEST_0_AMT3] => 1.92 [L_PAYMENTREQUEST_0_NAME4] => Line Item Amount Offset [L_PAYMENTREQUEST_0_DESC4] => Adjust cart calculation discrepancy [L_PAYMENTREQUEST_0_QTY4] => 1 [L_PAYMENTREQUEST_0_AMT4] => 0 [METHOD] => DoExpressCheckoutPayment [VERSION] => 120.0 [BUTTONSOURCE] => WooThemes_EC [USER] => REDACTED [PWD] => REDACTED [SIGNATURE] => REDACTED )
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Duplicate orders’ is closed to new replies.