Duplicate Order Notification Emails
-
My customers are receiving duplicate emails when they make an order and pay with stripe (making them think they have been charged twice).
I can see that there are duplicate order notes being generated for pending and charge complete.
Here is the latest one.
Stripe charge complete (Charge ID: ch_3KuA0kCopefjs6wl1nLrUQtT) 30 April 2022 at 6:45 am Delete note Stripe charge complete (Charge ID: ch_3KuA0kCopefjs6wl1nLrUQtT) 30 April 2022 at 6:45 am Delete note Order status changed from Pending payment to Processing. 30 April 2022 at 6:45 am Delete note Order status changed from Pending payment to Processing. 30 April 2022 at 6:45 am Delete note Stripe payment intent created (Payment Intent ID: pi_3KuA0kCopefjs6wl1GMzBhOd) 30 April 2022 at 6:45 am Delete note
-
Hello,
In order to check much better into the issue, please provide the following:
Could you please share a copy of your site’s System Status? You can find it via
WooCommerce > Status
. Select “Get system report” and then “Copy for support”.?Error Log: Share a copy of any fatal error log found under
WooCommerce > System Status > Logs
(if available).Important
: Please make sure to redact the sensitive information. Thank you.Is there any sensitive information in the system report? I’m not sure what I need to take out.
And there are no fatal errors logged.
Hello,
For the most part, the users redact their website URL from the system report, this is enough.
If there had been error logs the recommendation is to redact the sensitive information like email addresses, names, etc.
Let us know, thanks.
### WordPress Environment ### WC Version: 6.4.1 REST API Version: ? 6.4.1 WC Blocks Version: ? 7.2.2 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.3.2 Log Directory Writable: ? WP Version: 5.9.3 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.29 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1n-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.3.1 WC Database Prefix: iwr_ Total Database Size: 24.76MB Database Data Size: 17.91MB Database Index Size: 6.85MB iwr_woocommerce_sessions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB iwr_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB iwr_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB iwr_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB iwr_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_actionscheduler_actions: Data: 1.25MB + Index: 0.70MB + Engine InnoDB iwr_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_actionscheduler_logs: Data: 0.41MB + Index: 0.33MB + Engine InnoDB iwr_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB iwr_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB iwr_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB iwr_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_mailpoet_log: Data: 0.11MB + Index: 0.00MB + Engine InnoDB iwr_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB iwr_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB iwr_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_sending_queues: Data: 0.30MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB iwr_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB iwr_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB iwr_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB iwr_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB iwr_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_options: Data: 3.28MB + Index: 0.14MB + Engine InnoDB iwr_postmeta: Data: 3.31MB + Index: 2.86MB + Engine InnoDB iwr_posts: Data: 4.50MB + Index: 0.28MB + Engine InnoDB iwr_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB iwr_rank_math_analytics_inspections: Data: 0.02MB + Index: 0.11MB + Engine InnoDB iwr_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_sgs_log_events: Data: 0.14MB + Index: 0.00MB + Engine InnoDB iwr_sgs_log_visitors: Data: 0.11MB + Index: 0.00MB + Engine InnoDB iwr_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB iwr_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB iwr_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB iwr_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB iwr_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB iwr_wc_product_meta_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB iwr_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB iwr_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwr_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 237 custom_css: 1 customize_changeset: 4 et_body_layout: 12 et_footer_layout: 1 et_header_layout: 3 et_pb_layout: 12 et_template: 99 et_theme_builder: 7 mailpoet_page: 1 nav_menu_item: 4 page: 12 post: 10 product: 15 product_variation: 312 revision: 491 shop_coupon: 2 shop_order: 16 shop_order_refund: 3 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (17) ### Google Listings and Ads: by WooCommerce – 1.12.6 Site Kit by Google: by Google – 1.73.0 Jetpack: by Automattic – 10.8 MailPoet 3 (New): by MailPoet – 3.88.1 Printify Shipping Method: by Printify – 2.5 Product Visibility by Country for WooCommerce: by WP Wham – 1.4.7 Rank Math SEO: by Rank Math – 1.0.87 SiteGround Optimizer: by SiteGround – 7.0.9 SiteGround Security: by SiteGround – 1.2.7 Smart Variations Images & Swatches for WooCommerce: by David Rosendo – 5.1.12 WooCommerce Stripe Gateway: by WooCommerce – 6.3.0 WooCommerce PayPal Payments: by WooCommerce – 1.7.1 WooCommerce Price Based on Country Pro Add-on: by Oscar Gare – 2.17.0 WooCommerce Price Based on Country (Basic): by Oscar Gare – 2.2.2 WooCommerce Shipping & Tax: by WooCommerce – 1.25.26 WooCommerce: by Automattic – 6.4.1 SiteGround Central: by SiteGround – 2.0.4 ### Inactive Plugins (0) ### ### Settings ### API Enabled: ? Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) 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: #5 - /shop/ Basket: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Divi Version: 4.17.3 Author URL: https://www.elegantthemes.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: – ### Product Visibility by Country Settings ### Product Visibility by Country: yes Hide catalog visibility: yes Make non-purchasable: no Hide visibility in "WooCommerce Blocks": yes Modify query: no Redirect URL. You will need Product Visibility by Country for WooCommerce Pro plugin to customize redirect URL.: Modify widget query: yes Hide price: no Content: Info on single product page: no Content: The product is not available in your country. Info on archives: no Content: The product is not available in your country. Admin products list column: yes Select box type: chosen_select Hide product terms: Hide products: Debug mode: Disable URL: Queries: Check post type: Use simple redirect: ### Geolocation debug info ### Default customer location: geolocation MaxMind GeoIP database: ? MaxMind GeoIP license: ? MM_COUNTRY_CODE: ? GEOIP_COUNTRY_CODE: ? HTTP_CF_IPCOUNTRY: ? HTTP_X_COUNTRY_CODE: ? HTTP_X_REAL_IP: 101.191.203.78 HTTP_X_FORWARDED_FOR: ? REMOTE_ADDR: 101.191.203.78 Real external IP: 2001:8003:3222:fd01:98d6:c68f:6307:c4d7 WCPBC_USE_REMOTE_ADDR: – Geolocation Test: ? ### PBC Settings ### Version: 2.2.2 Base location: AU:NSW Base currency: USD Price Based On: billing Shipping: ? Test mode: – Test country: – Load products price in background: ? Currency format: [symbol][price] Exchange rate API: floatrates Prices entered with tax: – Calculate tax based on: shipping Display prices in the shop: excl ### Zone Pricing Australia ### zone_id: australia name: Australia countries: AU currency: AUD exchange_rate: 1.4 auto_exchange_rate: no exchange_rate_fee: 0 round_nearest: currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 1.398816 round_after_taxes: no trim_zeros: no ### Zone Pricing Eurozone ### zone_id: eurozone name: Eurozone countries: AX | AD | AT | BE | CY | EE | FI | FR | GF | TF | DE | GR | GP | IE | IT | LV | LT | LU | MT | MQ | YT | MC | ME | NL | PT | RE | BL | MF | PM | SM | SK | SI | ES | VA currency: EUR exchange_rate: 0.94793114185097 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 0.947931 round_after_taxes: no trim_zeros: no ### Zone Pricing Canada ### zone_id: canada name: Canada countries: CA currency: CAD exchange_rate: 1.2758943472647 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 1.275894 round_after_taxes: no trim_zeros: no ### Zone Pricing United Kingdom ### zone_id: united-kingdom name: United Kingdom countries: GB currency: GBP exchange_rate: 0.79660952779273 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 0.79661 round_after_taxes: no trim_zeros: no ### Zone Pricing Philippines ### zone_id: philippines name: Philippines countries: PH currency: PHP exchange_rate: 52.345727695668 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 52.345728 round_after_taxes: no trim_zeros: no ### Zone Pricing Indonesia ### zone_id: indonesia name: Indonesia countries: ID currency: IDR exchange_rate: 14509.260193777 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 14509.260194 round_after_taxes: no trim_zeros: no ### Zone Pricing India ### zone_id: india name: India countries: IN currency: INR exchange_rate: 76.482513004311 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 76.482513 round_after_taxes: no trim_zeros: no ### Zone Pricing Ukraine ### zone_id: ukraine name: Ukraine countries: UA currency: UAH exchange_rate: 29.402213103306 auto_exchange_rate: yes exchange_rate_fee: 0 round_nearest: 1 currency_format: price_thousand_sep: , price_decimal_sep: . price_num_decimals: 2 disable_tax_adjustment: no real_exchange_rate: 29.402213 round_after_taxes: no trim_zeros: no ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: AU WooCommerce currency supported: ? PayPal card processing available in country: ? Pay Later messaging available in country: ? Webhook status: ? Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – ### Action Scheduler ### Complete: 1,638 Oldest: 2022-03-31 00:03:57 +0000 Newest: 2022-04-30 12:48:56 +0000 Pending: 2 Oldest: 2022-05-01 04:26:23 +0000 Newest: 2022-05-05 10:00:47 +0000 ### Status report information ### Generated at: 2022-04-30 12:53:52 +00:00
Hello,
Thanks for your response and for sending the info.
WC Version: 6.4.1
WC Database Version: 6.3.1As a general recommendation, you will want to update the database version on your site it should match the WooCommerce version. You can update it under WP dashboard > WooCommerce > status > tools > update database.
Be sure to backup your site before moving forward. Or create a staging site via WP Staging for quickly spinning up a new test site.
Then temporarily switch your theme to Storefront disable all plugins except WooCommerce and WooCommerce Stripe Payment Gateway. And check again, here there is more information:
https://docs.woocommerce.com/document/how-to-test-for-conflicts/Then you can check whether or not the issue persists, if not, it means there was a conflict, and you can re-activate the theme and plugins one by one until the cause of the issue is found.
Also, you can make sure the emails are being correctly generated and sent by using the plugin
WP Mail Logging
(https://www.ads-software.com/plugins/wp-mail-logging/) and create a test order to check if the email for this test order is duplicate.Moreover, there is an article that might help you out with this:
How to Setup WordPress and WooCommerce Email LogsLet us know how it goes. Thanks.
Thank you for your help. I have just done some test orders and have found that the issue is happening when I turn on the “new checkout experience (early access)”
I had that turned on because the fields on the checkout page look much nicer and a lot more trustworthy. I will keep it off for now and monitor customer orders for any issues.
Thank you
Hi @lankyman,
Thank you for the update!
I haven’t seen the new checkout experience generate duplicate emails so far, so the problem here may be that this feature conflicts with another plugin on your WooCommerce installation.
Please follow the instructions above and create a staging site to perform conflict tests on a staging environment without affecting your customers.
We’ll be here if you need any further assistance.
Ok thanks. I will run some tests and get back to you.
Great,
That sounds like a plan, please keep us informed.
Cheers.
I found this thread while troubleshooting an issue I was having with a woocommerce plugin (https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/)
The duplicate order status note the new checkout experience was creating was causing my customers to receive two emails and two gift cards when they only ordered one. Disabling the new checkout experience seems to have fixed my issue but I hope more testing will be done so this isn’t an issue when the new experience is rolled out to everyone.
Hello @weschilders
We understand what you are saying, if you still are having the issue you can create your own thread at:
https://www.ads-software.com/support/plugin/woocommerce-gateway-stripe/#new-topic-0.This is to make sure that every user’s issues receive their own thread with proper attention (since each site configuration is different).
Thank you very much.
Hello,
In woocommerce when new order is placed admin get 2 new order email of same order,the customer order emails also sending twice (i.e. 2 copies of customer order email, and 2 copies of admin new order email — 4 emails total for each order).
Can anyone help me out in this ?We’d like to check the issue further for you.
Could you kindly create a new thread here – https://www.ads-software.com/support/plugin/woocommerce-gateway-stripe/#new-topic-0?
In your post:
* Share with us a screenshot of the order notes for one of the affected orders. I recommend https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL in your post. It works with Chrome, Firefox, Safari, and Edge.
* Share with us your System Status Report from WooCommerce → Status.Thanks.
ok thanks for reply
I create a new threat on topic: Woocomerce sending double up emails to admin and customer on new order
please check and reply over there
- The topic ‘Duplicate Order Notification Emails’ is closed to new replies.