Duplicate Email Sending for order
-
Customers receiving Duplicate Emails Sending for single order at same time
-
Hi @sathishwp
In most of these cases the duplicate one is owed to another plugin present which also triggers a mail parallelly.
We recommend temporarily switching your theme to Storefront and disable all plugins except for WooCommerce, and see if the behavior still persists. You can test this out on a staging site using a plugin like WP Staging, without affecting the appearance of the front end.
If this issue does not persist at this point, you’ll want to reactivate your theme/plugins one by one until you find the one causing the issue. Here’s the conflict test guide for reference: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
If the above does not yield a culprit, please share with us the site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
### WordPress Environment ### WordPress address (URL): https://demo.smacindia.com Site address (URL): https://demo.smacindia.com WC Version: 6.6.0 REST API Version: ? 6.6.0 WC Blocks Version: ? 7.6.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.29 PHP Post Max Size: 516 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 7.83.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.2 WC Database Prefix: wp_ Total Database Size: 69.06MB Database Data Size: 54.57MB Database Index Size: 14.49MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.36MB + Index: 0.41MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB availablebottlesizeofproduct: Data: 0.02MB + Index: 0.00MB + Engine InnoDB countries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB delhiverypayload: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mstate: Data: 0.00MB + Index: 0.00MB + Engine MyISAM paymentmethods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB retailerpaymentdetails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB retailerpaymentmethods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB retailersforproduct: Data: 0.02MB + Index: 0.00MB + Engine InnoDB templates: Data: 0.05MB + Index: 0.00MB + Engine InnoDB users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB warehousedetails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.39MB + Index: 0.48MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.17MB + Index: 0.14MB + Engine InnoDB wp_age_restriction_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_cff_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cff_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cff_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.27MB + Index: 0.36MB + Engine InnoDB wp_ctf_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_dv_assign_awb: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_dv_awb_no_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_dv_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_dv_my_warehouse: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_dv_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_eg_grids: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_eg_item_elements: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_eg_item_skins: Data: 1.52MB + Index: 0.03MB + Engine InnoDB wp_eg_navigation_skins: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 5.27MB + Index: 0.19MB + Engine InnoDB wp_postmeta: Data: 23.55MB + Index: 10.03MB + Engine InnoDB wp_posts: Data: 17.52MB + Index: 0.61MB + Engine InnoDB wp_ppress_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ppress_formsmeta: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_ppress_meta_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_rcb_asset_seo_redirect: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_blocker_thumbnails: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rcb_consent: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_presets: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_rcb_revision: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rcb_revision_independent: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rcb_scan: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_rcb_scan_markup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rcb_stats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rcb_tcf_features: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_tcf_purposes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_tcf_special_features: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_tcf_special_purposes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_tcf_stacks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rcb_tcf_vendors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_real_queue: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_fields: Data: 0.20MB + Index: 0.00MB + Engine InnoDB wp_rm_forms: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_rm_front_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_login_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_paypal_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_sent_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_stats: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_rm_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_submission_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rm_task_exe_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sby_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_search_filter_cache: Data: 0.16MB + Index: 0.19MB + Engine InnoDB wp_search_filter_term_results: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.09MB + Index: 0.08MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_usermeta: Data: 0.14MB + Index: 0.14MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_user_registration_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woo_shippment_provider: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### age_restriction: 1 animated_live_wall: 1 attachment: 991 cl-layout: 1 cl-template: 1 cookielawinfo: 6 custom_css: 1 customize_changeset: 192 is_search_form: 1 mc4wp-form: 1 nav_menu_item: 40 page: 50 post: 239 post_grid: 1 post_grid_layout: 2 product: 94 product_variation: 77 rcb-cookie: 1 revision: 1626 sby_videos: 19 search-filter-widget: 1 services: 8 shop_order: 430 sp_post_carousel: 1 team: 4 testimonial: 3 um_directory: 1 um_form: 4 user_registration: 1 wp_global_styles: 1 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (36) ### Ivory Search: by Ivory Search – 5.4.5 Direct checkout, WooCommerce Single page checkout , WooCommerce One page checkout: by PI Websolution – 2.1.14 Age Gate: by Phil Baker – 2.20.3 All-in-One WP Migration: by ServMask – 6.77 Animated Live Wall: by A WP Life – 1.0.24 Change WordPress Login Logo: by Boopathi Rajan – 1.1.7 Contact Form 7: by Takayuki Miyoshi – 5.5.3 GDPR Cookie Consent: by WebToffee – 2.1.2 Smash Balloon Custom Facebook Feed: by Smash Balloon – 4.1.3 Custom Layouts - Post + Product grids made easy: by Code Amp – 1.4.6 RegistrationMagic: by Registrationmagic – 5.0.2.1 Custom Twitter Feeds: by Smash Balloon – 1.8.4 Delhivery Logistics Courier: by Delhivery – 1.0.96 Easy Twitter Feeds: by bPlugins LLC – 1.2.1 elegro Crypto Payment: by Niko Technologies – 1.0.0 Essential Grid: by ThemePunch – 2.3.6 Feed Them Social - for Twitter feed, Youtube, and more: by SlickRemix – 2.9.7 Feeds for YouTube: by Smash Balloon YouTube Team – 1.4.4 Smash Balloon Instagram Feed: by Smash Balloon – 2.9.10 WPBakery Page Builder: by Michael M - WPBakery.com – 6.2.0 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.6 Smart Post Show: by ShapedPlugin – 2.4.10 Post Grid by PickPlugins: by PickPlugins – 2.1.20 Product Delivery Date for WooCommerce - Lite: by Tyche Softwares – 2.5.0 Slider Revolution: by ThemePunch – 6.4.11 Search & Filter Pro: by Code Amp – 2.5.12 Search & Filter: by Code Amp – 1.2.14 SVG Support: by Benbodhi – 2.4.2 ThemeREX Updater: by ThemeREX – 1.4.1 ThemeREX Utilities: by ThemeREX – 3.2.1 Razorpay for WooCommerce: by Team Razorpay – 2.8.4 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.13.1 WooCommerce Pre-Orders: by WooCommerce – 1.5.23 WooCommerce: by Automattic – 6.6.0 WordPress Importer: by wordpressdotorg – 0.7 WP Image Zoom: by SilkyPress – 1.50 ### Inactive Plugins (12) ### Advanced Shipment Tracking Pro: by zorem – 1.4 Age Verification: by Devio Digital – 2.8 Akismet Anti-Spam: by Automattic – 4.2.2 Easy Age Verify: by 5 Star Plugins – 1.6.3 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.4.7 Hello Dolly: by Matt Mullenweg – 1.7.2 No CAPTCHA reCAPTCHA for WooCommerce: by MailOptin Team – 1.2.6 PluginHive WooCommerce Shipping Services: by PluginHive – 1.2.1 Tagembed Widget: by Tagembed – 3.1 The GDPR Framework: by Data443 – 1.0.49 WooCommerce Delhivery: by Can tech – 1.0.51 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.3 ### Settings ### API Enabled: ? Force SSL: – Currency: INR (?) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: 0 (0) external (external) grouped (grouped) preorder (preorder) 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: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #125 - /shop/ Cart: #255 - /cart/ Checkout: #256 - /checkout/ My account: #257 - /my-account/ Terms and conditions: #2012 - /terms-conditions/ ### Theme ### Name: JardiWinery Version: 1.8 Author URL: https://ancorathemes.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: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-06-21 04:29:07 +00:00 Options: ? Notes: 63 Onboarding: completed ### Action Scheduler ### Complete: 1,212 Oldest: 2022-05-23 04:53:53 +0000 Newest: 2022-06-20 08:38:13 +0000 Pending: 2 Oldest: 2022-06-20 13:23:15 +0000 Newest: 2022-06-21 07:22:07 +0000 ### Status report information ### Generated at: 2022-06-20 08:38:49 +00:00
Hi @sathishwp,
Could you confirm on the results from the staging site and share screenshots of the duplicate mails you are getting?
We look forward to your reply at your earliest.
https://trial.smacindia.com/wp-content/themes/jardiwinery/duplicate.png
Check this attached Screenshot…
and also i have usedadd_action(‘woocommerce_thankyou’, ‘my_custom_new_order_email’);
function my_custom_new_order_email( $order_id )
{
/*** Inside this i have added custom email code ***/
}Hi @sathishwp,
Does the issue persist when you remove your custom order email? It appears that’s causing the issue.
If you’re looking to use a custom email, you should disable the default order email in WooCommerce > Settings > Emails.
Hi, I had already disable this settings
Hi there @sathishwp!
Sorry for asking again, but could you confirm if the issue persists after following the steps below:
1. Disable all plugins except WooCommerce
2. Switch the theme to a default theme like Storefront or 2022
3. Disable the custom code that you are using
4. Enable new order email for customers under WooCommerce > Settings > Emails
5. Test if the issue persistsI see you are using one of our paid extensions – WooCommerce Pre-Orders. If you are seeing this issue with Pre Order emails only, I’d suggest opening a ticket from your WooCommerce.com My Account page to get support.
I hope this helps! ??
As further assistance is to be provided via a ticket, I’ll go ahead and mark this thread closed here.
Feel free to create a new topic if you have other questions.
- The topic ‘Duplicate Email Sending for order’ is closed to new replies.