Duplicate orders
-
We are getting the odd duplicate order. customers have said the screen seems to go white (in a few cases). What can cause this?
-
A white screen in WP means there was a PHP failure of some sort. Can you check your PHP error logs on the server so we can see the actual error?
Same issue – however no reports that I know of regarding a blank screen. Will do some research into logs to see if I can find more info
I worked back through the sites error logs and nothing shows up. I can confirm that this has happened multiple times in the last month.
Happy to send you wc_logs of the transactions (privately)
I also reviewed the access log for the last duplicate order and found separate instances of the api being called mins apart
02/Aug/2017:19:50:27 +0000|v1|71.198.172.52||302|0|127.0.0.1:6789|1.223|1.223|GET /?wc-api=WC_Gateway_PayPal_Express_AngellEYE&pp_action=set_express_checkout HTTP/1.1|0|0 02/Aug/2017:19:51:16 +0000|v1|71.198.172.52||302|0|127.0.0.1:6789|1.255|1.255|GET /?wc-api=WC_Gateway_PayPal_Express_AngellEYE&pp_action=set_express_checkout HTTP/1.1|0|0 02/Aug/2017:19:54:02 +0000|v1|71.198.172.52||502|1175|127.0.0.1:6789|80.725|80.725|GET /wc-api/WC_Gateway_PayPal_Express_AngellEYE/?pp_action=get_express_checkout_details&token=EC-45W25391BF551111N&PayerID= HTTP/1.1|0|0 02/Aug/2017:19:55:57 +0000|v1|71.198.172.52|www.lunchbots.com|499|0|127.0.0.1:6789|-|99.674|GET /wc-api/WC_Gateway_PayPal_Express_AngellEYE/?pp_action=get_express_checkout_details&token=EC-45W25391BF551111N&PayerID= HTTP/1.1|0|0 02/Aug/2017:19:56:01 +0000|v1|71.198.172.52|www.lunchbots.com|499|0|127.0.0.1:6789|-|2.613|GET /wc-api/WC_Gateway_PayPal_Express_AngellEYE/?pp_action=get_express_checkout_details&token=EC-45W25391BF551111N&PayerID= HTTP/1.1|0|0
Note the payer ID was set but I removed it along with the sites URL this was pulled from.
Definitely a duplicate bug though.
@kiwiot, That’s odd it looks like some other cron jobs might be running but this is not usual thing. Can you try to disable all your activate plugin then see if the order duplication goes away?. make sure to clear browser and any CDN caches after deactivating plugins. Please try it and let me know if you are able to face the same issue.
@kiwiot, Again, a blank white page means a PHP failure must have happened. Are you sure you’re checking the correct PHP error logs? Depending on your hosting configuration these could be showing in a variety of places. Make sure you’re looking in the correct place.
The additional calls is very strange indeed. We aren’t getting any other reports of this. The “get_express_checkout_details” call is something that happens when the user is returned from PayPal, and then it would simply redirect to the final “do_express_checkout_payment” call. I don’t see that call in your log here, but I see GECD 3 times in a row. This tells me that must be where the error happened, which gave the person a blank page, and then maybe they just refreshed the page a couple of times, which triggered the same call 2 more times..??
Again, we’d need to see what error is happening to cause the white page. Please double check your server config for the correct location of the PHP error logs for this site and let me know what it shows.
No reports of blank pages from us – that was the other user. And no reports in the error logs, im sure of that.
I am still debugging this and waiting on the client to approve activating/dactiviating the plugin etc.
I ahve also asked the client to reach out to the customers that this happened to in the past to see if they did get a blank page and did not report it.
I’ll get back to you when I find out more.
So are you able to reproduce the issue that your customer reported?
To let you know it is happening to a few of us, I too have been getting duplicate orders over the last couple of weeks using PayFlow. Even with the latest 1.4.6.2 – 08.21.2017 update. PayPal’s date and time stamp on duplicates are exactly 1 second apart. Woocommerce order numbers are unique so PayPal treats the duplicates as valid. No reports of blank pages but we were sometimes getting long processing times. Error logs are clear back to March of this year.
I’ve been monitoring queries and turning off support type plugins like MainWP Child and Jetpack that added 50 queries between the two of them. The latest duplicate happened yesterday at 16:01:06 PDT.
If it helps, the following is Woocommerce status info…
WC version: 3.1.2
Log directory writable:
WP version: 4.8.1
WP multisite: –
WP memory limit: 256 MB
WP debug mode: –
WP cron:
Language: en_US
Server environment
Server info: Apache
PHP version: 5.6.30
PHP post max size: 1 GB
PHP time limit: 300
PHP max input vars: 1000
cURL version: 7.48.0, OpenSSL/1.0.1e
SUHOSIN installed: –
Max upload size: 1 GB
Default timezone is UTC:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Multibyte string:
Remote post:
Remote get:
Database
WC database version: 3.1.2
Database prefix
woocommerce_sessions
woocommerce_api_keys
woocommerce_attribute_taxonomies
woocommerce_downloadable_product_permissions
woocommerce_order_items
woocommerce_order_itemmeta
woocommerce_tax_rates
woocommerce_tax_rate_locations
woocommerce_shipping_zones
woocommerce_shipping_zone_locations
woocommerce_shipping_zone_methods
woocommerce_payment_tokens
woocommerce_payment_tokenmeta
Security
Secure connection (HTTPS): Your store is not using HTTPS. (we are forcing https)
Hide errors from visitors
Active plugins (42)
Query Monitor by John Blackbourn – 2.13.4
Advanced Custom Fields PRO by Elliot Condon – 5.6.1
DJ’s Excerpt by DJ’s fork of AE – 4.2.3
AffiliateWP – Lifetime Commissions by Pippin Williamson and Andrew Munro – 1.2.2
AffiliateWP – PayPal Payouts by Pippin Williamson and Andrew Munro – 1.1.7
AffiliateWP by AffiliateWP, LLC – 2.0.10.1
AffiliateWP – Allowed Products by AffiliateWP, LLC – 1.1.1
AffiliateWP – Order Details For Affiliates by AffiliateWP – 1.1.3
AffiliateWP – WooCommerce Redirect Affiliates by AffiliateWP – 1.0
Akismet Anti-Spam by Automattic – 3.3.4
BackWPup by Inpsyde GmbH – 3.4.1
Beaver Builder Plugin (Agency Version) by The Beaver Builder Team – 1.8.3
Ultimate Addon for Beaver Builder by Brainstorm Force – 1.6.1
iThemes Security by iThemes – 6.4.0
Cloudflare by John Wineman, Furkan Yilmaz, Junade Ali (Cloudflare Team) – 3.3.1
Customizer Export/Import by The Beaver Builder Team – 0.7
Duplicator by Snap Creek – 1.2.18
Email Encoder Bundle – Protect Email Address by Victor Villaverde Laan – 1.4.6
Google Pagespeed Insights by Matt Keys – 2.0.3
Google XML Sitemaps by Arne Brachhold – 4.0.9
Nav Menu Roles by Kathy Darling – 1.8.6
Social Commerce by Obox Themes – 1.5.0
PayPal for WooCommerce by Angell EYE – 1.4.6.2
Shortcodes Ultimate by Vladimir Anokhin – 4.10.2
Fast Secure Contact Form by fastsecure – 4.0.55
Simple Social Icons by Nathan Rice – 2.0.1
Sucuri Security – Auditing, Malware Scanner and Hardening by Sucuri Inc. – 1.8.8
User Role Editor by Vladimir Garagulya – 4.35.3
User Switching by John Blackbourn – 1.0.9
WC Speed Drain Repair by WP Fix It – 1.0
WooCommerce Direct Checkout by Terry Tsang – 1.1.2
WooCommerce Google Analytics Pro by SkyVerge – 1.3.2 – 1.3.5 is available
WooCommerce Role Based Methods by WPBackOffice – 2.0.9 – 2.1.4 is available
WooCommerce UPS Shipping by WooCommerce – 3.2.3 – 3.2.5 is available
WooCommerce USPS Shipping by WooCommerce – 4.4.8
WooCommerce ShippingEasy Integration by WooThemes – 4.0.0
WooCommerce – Store Exporter Deluxe by Visser Labs – 2.3.7
WooCommerce Tab Manager by SkyVerge – 1.8.2
WooCommerce by Automattic – 3.1.2
WooCommerce Hide Products by codewoogeek – 4.2
WP Store Locator by Tijmen Smit – 2.2.9
YITH WooCommerce Recover Abandoned Cart Premium by YITHEMES – 1.1.5@nickjam Do you have logging enabled in the PayFlow settings? Can you submit a ticket here and include a copy of the log that includes the back-to-back orders? Please reference this thread in that ticket.
- The topic ‘Duplicate orders’ is closed to new replies.