Duplicate order with same Transaction ID
-
Hi,
I received two consecutively numbered orders for the same customer in WooCommerce. On closer inspection they both have the same Paypal transaction ID. The first order:PayPal Express payment completed ( Response Code: Success, TransactionID: 69Nxxxxxx823 )
And 5 seconds later, the next order:
PayPal Express payment completed ( Response Code: SuccessWithWarning, TransactionID: 69Nxxxxxx823 )Both orders were shown as ‘processing’ in WooCommerce. Plugin version 1.1.7.5
Have you seen this before?
-
We haven’t seen that specifically, but we have seen similar things that could be what you’re running into. Basically, if the functions get run twice for some reason this can happen, but the answer why that would happen is elusive.
In your case, the first one was Success, and the second one was SuccessWithWarning. That would mean you should have seen money drop into your account for both of those, but then they would have had different transaction IDs. Can you confirm you only received a single payment from the customer?
Did you have logging enabled in the plugin when this happened? I would need to get a look at those logs to get a better idea of what happened here.
Yes, only one Paypal payment from the customer and logging is enabled.
I’ve opened a ticket on your support webpage.
Thanks!I’ve encountered a very similar issue as Rob. In my instance, two orders were duplicated for $29.75 and two orders were duplicated for $41.90. All four have the same transaction ID. On the PayPal side of things, it’s showing that one payment in the amount of $41.90 was received.
That is extremely odd. So you’re saying that you had 2 separate people order, but they were both entered twice in WooCommerce, and all 4 orders in WooCommerce had the same PayPal transaction ID?
Are you running any sort of caching or CDN service that could be interfering with session data?
Hello! Actually, the same person placed two different orders that were duplicated. All four orders had the same transaction ID.
Ok, that tells me something funky is going on with the session data. Are you running a caching or CDN service of any kind in WordPress or on the server directly?
What sort of hosting environment are you on?
What are some common CDN services? I don’t have any caching services enabled.
HostGator is my hosting provider.
Are you on a basic shared host, a VPS, or a dedicated server?
Here are my plug-ins. Any potential culprits?
Advanced Custom Fields
Deactivate | Edit
Customise WordPress with powerful, professional and intuitive fieldsVersion 4.4.5 | By Elliot Condon | View details
Select Advanced Custom Fields: Repeater Field
Advanced Custom Fields: Repeater Field
Deactivate | Edit
This premium Add-on adds a repeater field type for the Advanced Custom Fields pluginVersion 1.1.1 | By Elliot Condon | Visit plugin site
Select Akismet
Akismet
Settings | Deactivate | Edit
Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. It keeps your site protected even while you sleep. To get started: 1) Click the “Activate” link to the left of this description, 2) Sign up for an Akismet plan to get an API key, and 3) Go to your Akismet configuration page, and save your API key.Version 3.1.7 | By Automattic | View details
Select Custom Login Page Customizer
Custom Login Page Customizer
Deactivate | Edit
Custom Login Customizer plugin allows you to easily customize your login page straight from your WordPress Customizer! Awesome, right?Version 1.0.6 | By Hardeep Asrani | View details
Select Disable New User Notifications
Disable New User Notifications
Deactivate | Edit
Disables new user notification emails.Version 1.0.2 | By Thomas Griffin | View details
Select Duplicator
Duplicator
Manage | Deactivate | Edit
Create a backup of your WordPress files and database. Duplicate and move an entire site from one location to another in a few steps. Create a full snapshot of your site at any point in time.Version 1.1.0 | By LifeInTheGrid | View details | Help | About
Select Google Analytics
Google Analytics
Deactivate | Edit
Enables Google Analytics on all pages.Version 1.0.6 | By Kevin Sylvestre | View details
Select Gravity Forms
Gravity Forms
Settings | Deactivate | Edit
Easily create web forms and manage form entries within the WordPress admin.Version 1.9.15 | By rocketgenius | Visit plugin site
Register your copy of Gravity Forms to receive access to automatic upgrades and support. Need a license key? Purchase one now.
Select LayerSlider WP
LayerSlider WP
Deactivate | Edit
LayerSlider is the most advanced responsive WordPress slider plugin with the famous Parallax Effect and over 200 2D & 3D transitions.Version 5.1.1 | By Kreatura Media | Visit plugin site
Select PayPal for WooCommerce
PayPal for WooCommerce
Docs | Support | Write a Review | Deactivate | Edit
Easily enable PayPal Express Checkout, Website Payments Pro 3.0, Payments Pro 2.0 (PayFlow), and PayPal Plus (Germany). Each option is available separately so you can enable them individually.
Version 1.1.8 | By Angell EYE | View details
There is a new version of PayPal for WooCommerce available. View version 1.1.9.1 details or update now.Select Postman SMTP
Postman SMTP
Settings | Deactivate | Edit
Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!Version 1.7.2 | By Jason Hendriks | View details
Select Regenerate Thumbnails
Regenerate Thumbnails
Deactivate | Edit
Allows you to regenerate all thumbnails after changing the thumbnail sizes.Version 2.2.6 | By Alex Mills (Viper007Bond) | View details
Select Search By SKU – for Woocommerce
Search By SKU – for Woocommerce
Deactivate | Edit
The search functionality in woocommerce doesn’t search by sku by default. This simple plugin adds this functionality to both the admin site and regular searchVersion 0.6.1 | By Matthew Lawson | View details
Select UberMenu 3 – The Ultimate WordPress Mega Menu
UberMenu 3 – The Ultimate WordPress Mega Menu
Deactivate | Edit | Control Panel | Updates | Knowledgebase
Easily create beautiful, flexible, responsive mega menusVersion 3.2.0.2 | By Chris Mavricos, SevenSpark | Visit plugin site
Select WooCommerce
WooCommerce
Settings | Deactivate | Edit
An e-commerce toolkit that helps you sell anything. Beautifully.Version 2.4.13 | By WooThemes | View details | Docs | API Docs | Premium Support
There is a new version of WooCommerce available. View version 2.5.0 details or update now.
2.5.0 is a major update so it is important that you make backups, and ensure themes and extensions are 2.5 compatible. Developers should catch up with the development blog to see what has been happening in core.
Select WooCommerce Cart Stock Reducer
WooCommerce Cart Stock Reducer
Settings | Deactivate | Edit
Allow WooCommerce inventory stock to be reduced when adding items to cart and/or expire items from the cartVersion 1.15 | By James Golovich | View details
There is a new version of WooCommerce Cart Stock Reducer available. View version 1.25 details or update now.
Select WooCommerce PDF Invoices & Packing Slips
WooCommerce PDF Invoices & Packing Slips
Deactivate | Edit | Settings
Create, print & email PDF invoices & packing slips for WooCommerce orders.Version 1.5.26 | By Ewout Fernhout | View details
Select WooCommerce Stamps.com API integration
WooCommerce Stamps.com API integration
Deactivate | Edit
Stamps.com API integration for label printing. Requires server SOAP support.Version 1.2.3 | By WooThemes | Visit plugin site
Select WooCommerce Stock Manager
WooCommerce Stock Manager
Deactivate | Edit
WooCommerce Stock ManagerVersion 1.0.4 | By Vladislav Musílek | View details
Select WooCommerce USPS Shipping
WooCommerce USPS Shipping
Settings | Support | Docs | Deactivate | Edit
Obtain shipping rates dynamically via the USPS Shipping API for your orders.Version 4.2.14 | By WooThemes | View details
There is a new version of WooCommerce USPS Shipping available. View version 4.2.15 details or update now.
Select WooCommerce WishLists
WooCommerce WishLists
Deactivate | Edit
WooCommerce Wishlists allows you to create public and personal wishlists.Version 1.9.6 | By Lucas Stark | Visit plugin site
Select WooTax
WooTax
Settings | Deactivate | Edit
Harness the power of TaxCloud to accurately calculate sales tax for your WooCommerce store.Version 4.6 | By The WooTax Corporation | Visit plugin site
Select WooThemes Helper
WooThemes Helper
Deactivate | Edit
Hi there. I’m here to help you manage licenses for your WooThemes products, as well as help out when you need a guiding hand.Version 1.5.9 | By WooThemes | Visit plugin site
Select WP All Export
WP All Export
Activate | Edit | Delete
Export any post type to a CSV or XML file. Edit the exported data, and then re-import it later using WP All Import.Version 1.0.3 | By Soflyy | View details
Select WP All Import
WP All Import
Activate | Edit | Delete
The most powerful solution for importing XML and CSV files to WordPress. Create Posts and Pages with content from any XML or CSV file. A paid upgrade to WP All Import Pro is available for support and additional features.Version 3.3.4 | By Soflyy | View details
Select WP All Import – WooCommerce Add-On
WP All Import – WooCommerce Add-On
Activate | Edit | Delete
An extremely easy, drag & drop importer to import WooCommerce simple products. A paid upgrade is available for premium support and support for Variable, Grouped, and External/Affiliate productsVersion 1.2.6 | By Soflyy | View details
Select WP Extended Search
WP Extended Search
Deactivate | Edit
Extend default search to search in selected post meta, taxonomies, post types and all authors.Version 1.1 | By 5um17 | View details
Select WP-Optimize
WP-Optimize
Optimizer | Settings | Deactivate | Edit
This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution).Version 1.8.9.10 | By Ruhani Rabin | View details
Select Yoast SEO
Yoast SEO
FAQ | Premium Support | Settings | Deactivate | Edit
The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.Version 3.0.7 | By Team Yoast | View details
I’m on a VPS. We’re planning to upgrade to a dedicated server.
Essentially, the site lies dormant for most of the month, save one 24-hour period (yesterday through today) in which as many as 500 customers are on the site at once buying products (scented wax). As you can imagine, this caused significant server issues.
Yeah, I’m thinking something quirky must have gone wrong on the server during that heavy traffic time. It’s really hard to say what that could have been without digging into server logs.
The PayPal transaction ID is stored in session data, so on the surface it seems like something could be going wrong there.
Another thing that could be possible is maybe a situation where the customer made a purchase successfully, and somehow their session was not cleared after that order completed.
Then they do a new order, which fails for one reason or another, but the original transaction ID from the first order is still saved in the session data, so that winds up getting saved in the new, failed order as well.
Again, though, that session data should be cleared when an order is completed, so if that sort of thing was happening we’d have to figure out why exactly it wasn’t getting cleared.
That’s where plugin conflicts could come into play. This list is a little tough to read. Can you go to WooCommerce -> System Status, and then run the system report in there? It will give you a nice report to copy/paste for me so I can read the plugins a little more easily, as well as some other details about the server.
Thank you so much for all your help!
### WordPress Environment ###
Home URL: https://www.vintagechicscents.com
Site URL: https://www.vintagechicscents.com
WC Version: 2.4.13
Log Directory Writable: ? /home/vintagechicscent/public_html/wp-content/uploads/wc-logs/
WP Version: 4.4.1
WP Multisite: –
WP Memory Limit: 40 MB – We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: –
Language: en_US### Server Environment ###
Server Info: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
PHP Version: 5.6.16
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
SUHOSIN Installed: –
MySQL Version: 5.6.28
Max Upload Size: 8 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 2.4.13
:
woocommerce_api_keys: ?
woocommerce_attribute_taxonomies: ?
woocommerce_termmeta: ?
woocommerce_downloadable_product_permissions: ?
woocommerce_order_items: ?
woocommerce_order_itemmeta: ?
woocommerce_tax_rates: ?
woocommerce_tax_rate_locations: ?### Active Plugins (26) ###
Gravity Forms: by rocketgenius – 1.9.15
LayerSlider WP: by Kreatura Media – 5.1.1
Advanced Custom Fields: Repeater Field: by Elliot Condon – 1.1.1
Advanced Custom Fields: by Elliot Condon – 4.4.5
Akismet: by Automattic – 3.1.7
Disable New User Notifications: by Thomas Griffin – 1.0.2
Duplicator: by LifeInTheGrid – 1.1.0
Google Analytics: by Kevin Sylvestre – 1.0.6
Custom Login Page Customizer: by Hardeep Asrani – 1.0.6
PayPal for WooCommerce: by Angell EYE – 1.1.8
Postman SMTP: by Jason Hendriks – 1.7.2
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
Search By SKU – for Woocommerce: by Matthew Lawson – 0.6.1
UberMenu 3 – The Ultimate WordPress Mega Menu: by Chris Mavricos
SevenSpark – 3.2.0.2WooCommerce Cart Stock Reducer: by James Golovich – 1.15
WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 1.5.26
WooCommerce Stamps.com API integration: by WooThemes – 1.2.3
WooCommerce USPS Shipping: by WooThemes – 4.2.14 – 4.2.15 is available
WooCommerce Stock Manager: by Vladislav Musílek – 1.0.4
WooCommerce WishLists: by Lucas Stark – 1.9.6
WooTax: by The WooTax Corporation – 4.6
WooCommerce: by WooThemes – 2.4.13
WooThemes Helper: by WooThemes – 1.5.9
Yoast SEO: by Team Yoast – 3.0.7
WP Extended Search: by 5um17 – 1.1
WP-Optimize: by Ruhani Rabin – 1.8.9.10### Settings ###
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### API ###
API Enabled: –
API Version: 3.0.0### WC Pages ###
Shop Base: #6 – /shop/
Cart: #7 – /cart/
Checkout: #8 – /checkout/
My Account: #9 – /my-account/### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: Vintage Chic Scents
Version: Development
Author URL: https://[email protected]
Child Theme: ? – If you’re modifying WooCommerce or a parent theme you didn’t build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: Not Declared### Templates ###
Overrides: Vintage Chic Scents/woocommerce/archive-product.php
Vintage Chic Scents/woocommerce/cart/cart-empty.php
Vintage Chic Scents/woocommerce/cart/cart-item-data.php version 2.1.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/cart/cart-shipping.php
Vintage Chic Scents/woocommerce/cart/cart-totals.php
Vintage Chic Scents/woocommerce/cart/cart.php
Vintage Chic Scents/woocommerce/cart/cross-sells.php
Vintage Chic Scents/woocommerce/cart/mini-cart.php
Vintage Chic Scents/woocommerce/cart/shipping-calculator.php
Vintage Chic Scents/woocommerce/checkout/cart-errors.php version 1.6.4 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/checkout/form-billing.php
Vintage Chic Scents/woocommerce/checkout/form-checkout.php
Vintage Chic Scents/woocommerce/checkout/form-coupon.php
Vintage Chic Scents/woocommerce/checkout/form-login.php
Vintage Chic Scents/woocommerce/checkout/form-pay.php version 1.6.4 is out of date. The core version is 2.4.7
Vintage Chic Scents/woocommerce/checkout/form-shipping.php
Vintage Chic Scents/woocommerce/checkout/payment-method.php
Vintage Chic Scents/woocommerce/checkout/payment.php version 2.3.0 is out of date. The core version is 2.4.7
Vintage Chic Scents/woocommerce/checkout/review-order.php
Vintage Chic Scents/woocommerce/checkout/thankyou.php
Vintage Chic Scents/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/content-product_cat.php version 1.6.4 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/content-single-product.php
Vintage Chic Scents/woocommerce/content-widget-product.php
Vintage Chic Scents/woocommerce/emails/admin-cancelled-order.php version 2.3.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/admin-new-order.php version 2.0.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/customer-completed-order.php version 1.6.4 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/customer-invoice.php version 2.2.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/customer-new-account.php
Vintage Chic Scents/woocommerce/emails/customer-note.php version 1.6.4 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/customer-processing-order.php version 1.6.4 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/customer-reset-password.php
Vintage Chic Scents/woocommerce/emails/email-addresses.php version 2.2.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/email-footer.php
Vintage Chic Scents/woocommerce/emails/email-header.php version 2.3.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/emails/email-order-items.php
Vintage Chic Scents/woocommerce/emails/email-styles.php
Vintage Chic Scents/woocommerce/emails/plain/admin-cancelled-order.php
Vintage Chic Scents/woocommerce/emails/plain/admin-new-order.php version 2.0.0 is out of date. The core version is 2.3.0
Vintage Chic Scents/woocommerce/emails/plain/customer-completed-order.php version 2.0.0 is out of date. The core version is 2.3.0
Vintage Chic Scents/woocommerce/emails/plain/customer-invoice.php
Vintage Chic Scents/woocommerce/emails/plain/customer-new-account.php
Vintage Chic Scents/woocommerce/emails/plain/customer-note.php version 2.0.0 is out of date. The core version is 2.3.0
Vintage Chic Scents/woocommerce/emails/plain/customer-processing-order.php version 2.2.0 is out of date. The core version is 2.3.0
Vintage Chic Scents/woocommerce/emails/plain/customer-reset-password.php
Vintage Chic Scents/woocommerce/emails/plain/email-addresses.php
Vintage Chic Scents/woocommerce/emails/plain/email-order-items.php
Vintage Chic Scents/woocommerce/global/breadcrumb.php
Vintage Chic Scents/woocommerce/global/form-login.php
Vintage Chic Scents/woocommerce/global/quantity-input.php
Vintage Chic Scents/woocommerce/global/sidebar.php
Vintage Chic Scents/woocommerce/global/wrapper-end.php
Vintage Chic Scents/woocommerce/global/wrapper-start.php
Vintage Chic Scents/woocommerce/loop/add-to-cart.php
Vintage Chic Scents/woocommerce/loop/loop-end.php
Vintage Chic Scents/woocommerce/loop/loop-start.php
Vintage Chic Scents/woocommerce/loop/no-products-found.php
Vintage Chic Scents/woocommerce/loop/orderby.php
Vintage Chic Scents/woocommerce/loop/pagination.php
Vintage Chic Scents/woocommerce/loop/price.php
Vintage Chic Scents/woocommerce/loop/rating.php
Vintage Chic Scents/woocommerce/loop/result-count.php
Vintage Chic Scents/woocommerce/loop/sale-flash.php
Vintage Chic Scents/woocommerce/myaccount/form-add-payment-method.php
Vintage Chic Scents/woocommerce/myaccount/form-edit-account.php
Vintage Chic Scents/woocommerce/myaccount/form-edit-address.php
Vintage Chic Scents/woocommerce/myaccount/form-login.php
Vintage Chic Scents/woocommerce/myaccount/form-lost-password.php
Vintage Chic Scents/woocommerce/myaccount/my-account.php
Vintage Chic Scents/woocommerce/myaccount/my-address.php
Vintage Chic Scents/woocommerce/myaccount/my-downloads.php
Vintage Chic Scents/woocommerce/myaccount/my-orders.php
Vintage Chic Scents/woocommerce/myaccount/view-order.php
Vintage Chic Scents/woocommerce/notices/error.php
Vintage Chic Scents/woocommerce/notices/notice.php
Vintage Chic Scents/woocommerce/notices/success.php
Vintage Chic Scents/woocommerce/order/form-tracking.php
Vintage Chic Scents/woocommerce/order/order-again.php
Vintage Chic Scents/woocommerce/order/order-details.php version 2.3.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/order/tracking.php
Vintage Chic Scents/woocommerce/product-searchform.php
Vintage Chic Scents/woocommerce/single-product/add-to-cart/external.php
Vintage Chic Scents/woocommerce/single-product/add-to-cart/grouped.php
Vintage Chic Scents/woocommerce/single-product/add-to-cart/simple.php
Vintage Chic Scents/woocommerce/single-product/add-to-cart/variable.php version 2.3.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/single-product/meta.php
Vintage Chic Scents/woocommerce/single-product/price.php version 1.6.4 is out of date. The core version is 2.4.9
Vintage Chic Scents/woocommerce/single-product/product-attributes.php
Vintage Chic Scents/woocommerce/single-product/product-image.php
Vintage Chic Scents/woocommerce/single-product/product-thumbnails.php
Vintage Chic Scents/woocommerce/single-product/rating.php
Vintage Chic Scents/woocommerce/single-product/related.php
Vintage Chic Scents/woocommerce/single-product/review.php
Vintage Chic Scents/woocommerce/single-product/sale-flash.php
Vintage Chic Scents/woocommerce/single-product/share.php
Vintage Chic Scents/woocommerce/single-product/short-description.php
Vintage Chic Scents/woocommerce/single-product/tabs/additional-information.php
Vintage Chic Scents/woocommerce/single-product/tabs/description.php
Vintage Chic Scents/woocommerce/single-product/tabs/tabs.php version 2.0.0 is out of date. The core version is 2.4.0
Vintage Chic Scents/woocommerce/single-product/title.php
Vintage Chic Scents/woocommerce/single-product/up-sells.php
Vintage Chic Scents/woocommerce/single-product-reviews.php
Vintage Chic Scents/woocommerce/single-product.php
Vintage Chic Scents/woocommerce/taxonomy-product_cat.php
Vintage Chic Scents/woocommerce/taxonomy-product_tag.php: Learn how to update outdated templates
You have a bunch of WooCommerce template files that are showing up as “out of date”. This means your theme needs to be updated to work with the latest version of WooCommerce.
I don’t know for sure if that’s the root of this problem, but it’s certainly the first thing I would want to get resolved to eliminate it as a possibility.
We’re having a very similar issue actually. Although I think it’s maybe a WooCommerce issue rather than specifically your payment plugin.
We are using Stripe and PayPal express and experiencing similar issues (both are the official woothemes plugins).
I wrote this post on GitHub (https://github.com/woothemes/woocommerce/issues/10453):
Basically we have established that on some occasions, especially under heavy server load, both PayPal Express and Stripe orders are getting duplicated. If it happens with a Stripe payment then we will actually receive two payments, however seeing it happen with stripe is more rare. If it is with PayPal then it is almost exclusively with PayPal express (using the woothemes plugin) and has actually on occasion led to three or four copies of an order. When it happens with PayPal express there will be two identical orders showing in the WooCommerce orders list with different order numbers but the PayPal transaction ID will be listed as the same for both and there will be only one payment in PayPal.
This has happened a few times when the server was not under heavy load at all. In all cases the customers have not intended to make these duplicate orders at all.
We have also had the odd few orders where they have been successfully paid on PayPal Express but on the website are still showing as “Pending”.
- The topic ‘Duplicate order with same Transaction ID’ is closed to new replies.