WooCommerce Version 4.5.1 duplicate orders with Stripe Gateway
-
We just noticed that we had duplicate orders for 2 different customers, both of whom were using a $10 off discount coupon. So for each customer using the discount coupon of $10 off, there is a status of “Pending Payment” for the first order at full price; and then a second order for that same customer for a second/duplicate order, but at the full price minus the $10 off coupon with a status of “Processing”. We are using WooCommerce Stripe Gateway plugin version 4.5.2 and WooCommerce Version 4.5.1 and WordPress version 5.5.1
Does anyone know how to fix this?
Thanks.
-
Hi there,
Are you able to replicate the issue if you try checking out with that $10 off coupon? Is this the only circumstance where you’re seeing the duplicate orders?
Could you copy and paste your site’s system status report into this ticket? You can get it from your dashboard by going to WooCommerce—> Status.
Best,
Ross
Yes, only happens when customer uses our coupon code. Here’s the Status Report:
### WordPress Environment ### WordPress address (URL): https://www.milaandstevie.com Site address (URL): https://www.milaandstevie.com WC Version: 4.5.1 REST API Version: ? 4.5.1 WC Blocks Version: ? 3.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.5.0 Log Directory Writable: ? WP Version: 5.5.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.12 PHP Post Max Size: 100 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.45.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: 5.6.32-78.0-log Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.5.1 WC Database Prefix: wp_my082scgmc_ Total Database Size: 24.33MB Database Data Size: 22.41MB Database Index Size: 1.92MB wp_my082scgmc_woocommerce_sessions: Data: 13.63MB + Index: 0.26MB + Engine MyISAM wp_my082scgmc_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_actionscheduler_actions: Data: 0.31MB + Index: 0.16MB + Engine InnoDB wp_my082scgmc_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_my082scgmc_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_my082scgmc_actionscheduler_logs: Data: 0.22MB + Index: 0.16MB + Engine InnoDB wp_my082scgmc_bwp_lookbook: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_my082scgmc_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_entry: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_entry_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_gf_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_litespeed_img_optm: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mailchimp_jobs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_customer_pairs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_paymentmethod_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_payment_id_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_product_pairs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_qbo_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_qbo_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_real_time_sync_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_real_time_sync_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_shipping_product_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_tax_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_variation_pairs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_mw_wc_qbo_sync_wq_cf_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_options: Data: 3.47MB + Index: 0.17MB + Engine InnoDB wp_my082scgmc_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_pmxi_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_pmxi_imports: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_pmxi_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_pmxi_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_postmeta: Data: 0.88MB + Index: 0.18MB + Engine MyISAM wp_my082scgmc_posts: Data: 2.85MB + Index: 0.10MB + Engine MyISAM wp_my082scgmc_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_redirection_404: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_my082scgmc_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_my082scgmc_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_my082scgmc_redirection_logs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_my082scgmc_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_revslider_sliders: Data: 0.04MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_revslider_slides: Data: 0.12MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_my082scgmc_sbi_instagram_posts: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_my082scgmc_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_my082scgmc_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_my082scgmc_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_my082scgmc_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_usermeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_my082scgmc_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_vtwpr_purchase_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_vtwpr_purchase_log_product: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_vtwpr_purchase_log_product_rule: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_wcmnd_analytics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_my082scgmc_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_my082scgmc_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_my082scgmc_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_my082scgmc_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_my082scgmc_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_my082scgmc_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_my082scgmc_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_my082scgmc_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_my082scgmc_wc_product_meta_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_my082scgmc_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_my082scgmc_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_my082scgmc_yith_wcwl: Data: 0.11MB + Index: 0.06MB + Engine MyISAM wp_my082scgmc_yith_wcwl_lists: Data: 0.14MB + Index: 0.14MB + Engine MyISAM ### Post Type Counts ### attachment: 140 bwp_footer: 1 custom_css: 2 customize_changeset: 7 jetpack_migration: 2 mc4wp-form: 1 nav_menu_item: 26 page: 16 post: 4 product: 38 product_variation: 32 revision: 620 shop_coupon: 10 shop_order: 9 vc_grid_item: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (27) ### Redux: by Redux.io + Dovy Paukstys – 4.1.18 All in one Favicon: by Arne Franken – 4.7 All In One SEO Pack: by All in One SEO Team – 3.7.0 Classic Editor: by WordPress Contributors – 1.6 Cookie Notice: by dFactory – 1.3.2 Duplicate Page: by mndpsingh287 – 4.3 Facebook for WooCommerce: by Facebook – 2.0.1 – Installed version not tested with active version of WooCommerce 4.5.1 Smash Balloon Instagram Feed: by Smash Balloon – 2.4.6 Jetpack by WordPress.com: by Automattic – 8.9 WPBakery Page Builder: by Michael M - WPBakery.com – 5.7 Leverage Browser Caching: by Rinku Yadav – 2.0 LiteSpeed Cache: by LiteSpeed Technologies – 3.4.2 Mailchimp for WooCommerce: by Mailchimp – 2.4.5 – Installed version not tested with active version of WooCommerce 4.5.1 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.1 Redirection: by John Godley – 4.8 Slider Revolution: by ThemePunch – 5.4.8.2 Safe SVG: by Daryll Doyle – 1.9.9 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.3 Variation Swatcher for WooCommerce: by ThemeAlien – 1.0.10 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce MailChimp NewsLetter Discount: by zetamatic – 0.2.4 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Extra Product Sorting Options: by SkyVerge – 2.8.4 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Stripe Gateway: by WooCommerce – 4.5.2 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Services: by Automattic – 1.24.2 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce: by Automattic – 4.5.1 Smush: by WPMU DEV – 3.6.3 Custom Core: by Prominent Web Design – 1.0 YITH WooCommerce Wishlist: by YITH – 3.0.13 – Installed version not tested with active version of WooCommerce 4.5.1 ### Inactive Plugins (4) ### Akismet Anti-Spam: by Automattic – 4.1.6 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Sync for QuickBooks Online - by MyWorks Software: by MyWorks Software – 2.1 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Wholesale Prices: by Rymera Web Co – 1.11.11 – Installed version not tested with active version of WooCommerce 4.5.1 ### Dropin Plugins (1) ### object-cache.php: APCu Object Cache ### Must Use Plugins (1) ### System Plugin: by – 3.20.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #16 - /shop/ Cart: #8 - /cart/ Checkout: #9 - /checkout/ My account: #10 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: milaandstevie Version: 1.0.0 Author URL: https://prominentweb.com Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: milastevie/woocommerce/archive-product.php milastevie/woocommerce/cart/cross-sells.php milastevie/woocommerce/cart/mini-cart.php milastevie/woocommerce/content-product.php milastevie/woocommerce/content-single-product.php milastevie/woocommerce/loop/add-to-cart.php milastevie/woocommerce/loop/loop-end.php milastevie/woocommerce/loop/loop-start.php milastevie/woocommerce/loop/no-products-found.php milastevie/woocommerce/loop/orderby.php milastevie/woocommerce/loop/pagination.php milastevie/woocommerce/loop/rating.php milastevie/woocommerce/loop/result-count.php milastevie/woocommerce/loop/sale-flash.php milastevie/woocommerce/myaccount/form-login.php milastevie/woocommerce/single-product/add-to-cart/external.php milastevie/woocommerce/single-product/add-to-cart/grouped.php milastevie/woocommerce/single-product/add-to-cart/simple.php milastevie/woocommerce/single-product/add-to-cart/variable.php milastevie/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php milastevie/woocommerce/single-product/product-image.php milastevie/woocommerce/single-product/product-thumbnails.php milastevie/woocommerce/single-product/related.php milastevie/woocommerce/single-product/sale-flash.php milastevie/woocommerce/single-product/short-description.php milastevie/woocommerce/single-product/tabs/additional-information.php milastevie/woocommerce/single-product/tabs/description.php milastevie/woocommerce/single-product/title.php milastevie/woocommerce/single-product/up-sells.php milastevie/woocommerce/single-product.php ### Action Scheduler ### Canceled: 3 Oldest: 2020-08-15 13:54:15 -0700 Newest: 2020-08-26 21:19:38 -0700 Complete: 533 Oldest: 2020-08-10 11:07:37 -0700 Newest: 2020-09-09 19:51:41 -0700
Hi again,
Thanks for sending over the system status report. I tested this out on my site, but wasn’t able to replicate the issue, so a conflict test is the next step. To test, first, you’ll want to change the theme on your site to Storefront, then test. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you. If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and checkout with a coupon. If that fixes the problem, re-enable the other plugins one by one to see where the issue is coming from. If you don’t want to test on your live site, then create a staging site using a plugin called WP Staging.
Let us know how this goes!
Ross
Hi again,
We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions!
Best,
Ross
- The topic ‘WooCommerce Version 4.5.1 duplicate orders with Stripe Gateway’ is closed to new replies.