WooCommerce double webhook action (Double emails)
-
Hello,
I’ve experienced double order confirmation emails before within WooCommerce (Around october 2024). Since then i’ve updated everything and the issue seemed to be gone. Recently i started experiencing issues again with double e-mails.
This issue seem to be coming from double webhook actions, related too: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2331
Order information:
- Email headers: https://prnt.sc/UsSrtK99GbcJ
- Order and timeline: https://prnt.sc/NWPH-NkK89LH
The payment has been made once, but there are 2 (double) actions performed, which causes a double send email.
I hope to have an answer soon.
Best regards,
Chartnet
-
Hi @chartnet,
I can imagine how frustrating it must be to deal with this issue again, especially after having resolved it before. It’s great that you’ve already done some research on your end.
To help understand the situation better, could you confirm which payment gateway plugin you’re using and if you’re using Stripe to process your payments?
In addition to that can you share your?System Status Report?(which you can find via WooCommerce > Status > Get system report > Copy for support)?
Hello @mosesmedh,
Ofcourse, the plugin i am using for payments is “Payment Plugins for Stripe WooCommerce“. Below you can find the report.
WordPress Environment<br><br>WordPress address (URL): https://*****.nl<br>Site address (URL): https://*****.nl<br>WC Version: 9.5.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.2<br>Log Directory Writable: ?<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 2 GB<br>WP Debug Mode: –<br>WP Cron: –<br>Language: nl_NL<br>External object cache: ? Server Environment<br><br>Server Info: LiteSpeed<br>PHP Version: 8.2.26<br>PHP Post Max Size: 2 GB<br>PHP Time Limit: 500<br>PHP Max Input Vars: 8000<br>cURL Version: 7.76.1<br>OpenSSL/3.0.7<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.11.10-MariaDB-cll-lve<br>Max Upload Size: 2 GB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 9.5.1<br>WC Database Prefix: wpep_<br>Total Database Size: 44.82MB<br>Database Data Size: 28.51MB<br>Database Index Size: 16.31MB<br>wpep_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpep_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wpep_woocommerce_order_itemmeta: Data: 0.27MB + Index: 0.22MB + Engine InnoDB<br>wpep_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpep_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpep_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_actionscheduler_actions: Data: 0.33MB + Index: 0.25MB + Engine InnoDB<br>wpep_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_actionscheduler_logs: Data: 0.16MB + Index: 0.13MB + Engine InnoDB<br>wpep_cartflows_ca_cart_abandonment: Data: 0.13MB + Index: 0.02MB + Engine InnoDB<br>wpep_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_comments: Data: 0.16MB + Index: 0.09MB + Engine InnoDB<br>wpep_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_litespeed_crawler: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wpep_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpep_litespeed_url: Data: 0.11MB + Index: 0.13MB + Engine InnoDB<br>wpep_litespeed_url_file: Data: 2.52MB + Index: 7.08MB + Engine InnoDB<br>wpep_options: Data: 4.39MB + Index: 0.16MB + Engine InnoDB<br>wpep_postmeta: Data: 10.45MB + Index: 4.03MB + Engine InnoDB<br>wpep_posts: Data: 4.47MB + Index: 0.45MB + Engine InnoDB<br>wpep_termmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wpep_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_term_relationships: Data: 0.13MB + Index: 0.13MB + Engine InnoDB<br>wpep_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wpep_usermeta: Data: 0.19MB + Index: 0.16MB + Engine InnoDB<br>wpep_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpep_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wpep_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wpep_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_wc_orders: Data: 0.06MB + Index: 0.11MB + Engine InnoDB<br>wpep_wc_orders_meta: Data: 1.52MB + Index: 0.56MB + Engine InnoDB<br>wpep_wc_order_addresses: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wpep_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_wc_order_operational_data: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wpep_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wpep_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpep_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_wc_product_attributes_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wpep_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_wc_product_meta_lookup: Data: 0.08MB + Index: 0.11MB + Engine InnoDB<br>wpep_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_wlr_earn_campaign: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wpep_wlr_earn_campaign_transaction: Data: 0.05MB + Index: 0.17MB + Engine InnoDB<br>wpep_wlr_levels: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wpep_wlr_logs: Data: 0.09MB + Index: 0.03MB + Engine InnoDB<br>wpep_wlr_points_ledger: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wpep_wlr_referral: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpep_wlr_rewards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpep_wlr_reward_transactions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wpep_wlr_users: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wpep_wlr_user_rewards: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wpep_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpep_yith_wcwl: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wpep_yith_wcwl_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_yith_wcwl_lists: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpep_yoast_indexable: Data: 0.45MB + Index: 0.22MB + Engine InnoDB<br>wpep_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wpep_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpep_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpep_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB Post Type Counts<br><br>adt_product_feed: 3<br>attachment: 1027<br>custom_css: 2<br>customize_changeset: 1<br>elementor_library: 26<br>nav_menu_item: 97<br>oembed_cache: 1<br>page: 15<br>post: 10<br>product: 372<br>product_variation: 106<br>revision: 232<br>shop_coupon: 83<br>shop_order: 11<br>shop_order_placehold: 150<br>ts_custom_block: 6<br>ts_footer_block: 1<br>ts_mega_menu: 7<br>ts_size_chart: 1<br>wp_global_styles: 4<br>wp_navigation: 1<br>wpcf7_contact_form: 2<br>wpcode: 3 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (21)<br><br>Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 7.1.5<br>Contact Form 7: by Takayuki Miyoshi – 6.0.2<br>Custom Permalinks for WooCommerce: by Meow Crew – 1.6.1<br>GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: by Thomas Geiger – 1.20.3<br>Elementor: by Elementor.com – 3.26.3<br>Kadence WooCommerce Email Designer: by Kadence WP – 1.5.14<br>LiteSpeed Cache: by LiteSpeed Technologies – 6.5.4<br>Loco Translate: by Tim Whitlock – 2.6.14<br>Redux Framework: by Team Redux – 4.5.4<br>ThemeSky: by ThemeSky Team – 1.0.6<br>Tracking Info to WooCommerce order: by Damien Carbery – 0.7.20240824<br>WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.3.1<br>Product Feed PRO for WooCommerce: by AdTribes.io – 13.4.0<br>Payment Plugins for Stripe WooCommerce: by Payment Plugins<br>[email protected] – 3.3.80<br><br>PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.9.4<br>WooCommerce: by Automattic – 9.5.1<br>Yoast SEO: by Team Yoast – 24.1<br>WPLoyalty - WooCommerce Loyalty Points, Rewards and Referral Pro: by Wployalty – 1.2.14<br>WP Mail SMTP: by WP Mail SMTP – 4.3.0<br>WPS Hide Login: by WPServeur<br>NicolasKulka<br>wpformation – 1.9.17.1<br><br>YITH WooCommerce Wishlist: by YITH – 4.0.1 Inactive Plugins (0) Dropin Plugins ()<br><br>object-cache.php: LiteSpeed Cache - Object Cache (Drop-in) Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: left_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 8 KB WC Pages<br><br>Shop base: #51 - /shop/<br>Cart: #52 - /winkelwagen/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #53 - /afrekenen/ - Contains the [woocommerce_checkout] shortcode<br>My account: #54 - /account/<br>Terms and conditions: #22016 - /algemene-voorwaarden/ Theme<br><br>Name: Loobek Child<br>Version: 1.0.0<br>Author URL: https://theme-sky.com/<br>Child Theme: ?<br>Parent Theme Name: Loobek<br>Parent Theme Version: 1.2.9<br>Parent Theme Author URL: https://theme-sky.com/<br>Theme type: Classic theme<br>WooCommerce Support: ? Templates<br><br>Overrides: loobek/woocommerce/archive-product.php<br>loobek-child/woocommerce/checkout/review-order.php<br>loobek/woocommerce/content-product-cat.php<br>loobek/woocommerce/content-product.php<br>loobek/woocommerce/content-widget-product.php<br>loobek/woocommerce/loop/add-to-cart.php<br>loobek/woocommerce/loop/loop-end.php<br>loobek/woocommerce/loop/loop-start.php<br>loobek/woocommerce/loop/orderby.php<br>loobek/woocommerce/loop/rating.php<br>loobek/woocommerce/single-product/rating.php<br>loobek/woocommerce/single-product/tabs/description.php<br>loobek/woocommerce/single-product.php Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout<br><br>Daily Cron: ? Next scheduled: 2025-01-08 03:08:34 +01:00<br>Options: ?<br>Notes: 81<br>Onboarding: skipped Action Scheduler<br><br>Complete: 721<br>Oldest: 2024-12-07 23:20:12 +0100<br>Newest: 2025-01-07 19:40:08 +0100<br><br>Failed: 5<br>Oldest: 2024-07-13 20:32:56 +0200<br>Newest: 2024-08-05 19:37:39 +0200<br><br>Pending: 11<br>Oldest: 2025-01-08 01:10:07 +0100<br>Newest: 2025-01-16 14:00:07 +0100 Status report information<br><br>Generated at: 2025-01-07 20:07:22 +01:00<br>
Hello chartnet,
Thank you for your reply.
I recommend you contact Payment Plugins for Stripe WooCommerce support to troubleshoot this issue. They should be better equipped to help you with their product.
The GitHub issue you shared in the first message is related to the WooCommerce Stripe plugin.
This is a different plugin and the issue was resolved in this plugin.Please don’t hesitate to contact us again if you have more questions or concerns.
We are here to help ??Best regards.
Thank you for the information @doublezed2, i will write a topic there.
- You must be logged in to reply to this topic.