Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double Notes & Double Emails #2463

Closed
2 tasks
Tracked by #3327
DaniyarIsmailov opened this issue Oct 25, 2022 · 81 comments · Fixed by #3331
Closed
2 tasks
Tracked by #3327

Double Notes & Double Emails #2463

DaniyarIsmailov opened this issue Oct 25, 2022 · 81 comments · Fixed by #3331
Assignees
Labels
component: UPE Issues related to adding UPE functionality priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.

Comments

@DaniyarIsmailov
Copy link

Dear team,

Duplicating the topic from the plugin support thread https://wordpress.org/support/topic/double-notes-double-emails/

What happened

I and my customer get two emails after my customer makes a payment through Stripe.

Steps to reproduce the issue

  1. New checkout experience is enabled.
  2. The order notes shows two status changes https://snipboard.io/hC3VXu.jpg
  3. The plugin for order autoconfirmation is enabled.
  4. In the test mode the issue is not observed

Please find the WooCommerce logs:

Expand

### WordPress Environment ###

WordPress address (URL): https://onesim.co
Site address (URL): https://onesim.co
WC Version: 7.0.0
REST API Version: ✔ 7.0.0
WC Blocks Version: ✔ 8.5.1
Action Scheduler Version: ✔ 3.5.2
Log Directory Writable: ✔
WP Version: 6.0.3
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.32
PHP Post Max Size: 64 MB
PHP Time Limit: 180
PHP Max Input Vars: 10000
cURL Version: 7.68.0
OpenSSL/1.1.1f

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 7.0.0
WC Database Prefix: dGz55Htl9_
Total Database Size: 104.54MB
Database Data Size: 93.25MB
Database Index Size: 11.29MB
dGz55Htl9_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
dGz55Htl9_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
dGz55Htl9_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_actionscheduler_actions: Data: 1.02MB + Index: 0.56MB + Engine InnoDB
dGz55Htl9_actionscheduler_claims: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
dGz55Htl9_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_actionscheduler_logs: Data: 1.02MB + Index: 0.28MB + Engine InnoDB
dGz55Htl9_betterdocs_search_keyword: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_betterdocs_search_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
dGz55Htl9_ewwwio_images: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
dGz55Htl9_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
dGz55Htl9_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
dGz55Htl9_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_icl_mo_files_domains: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_strings: Data: 1.50MB + Index: 1.22MB + Engine InnoDB
dGz55Htl9_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_string_positions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_string_translations: Data: 1.52MB + Index: 0.42MB + Engine InnoDB
dGz55Htl9_icl_translate: Data: 5.39MB + Index: 0.11MB + Engine InnoDB
dGz55Htl9_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_icl_translations: Data: 0.25MB + Index: 0.61MB + Engine InnoDB
dGz55Htl9_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_icl_translation_status: Data: 3.28MB + Index: 0.08MB + Engine InnoDB
dGz55Htl9_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_options: Data: 7.36MB + Index: 0.23MB + Engine InnoDB
dGz55Htl9_postmeta: Data: 42.50MB + Index: 3.66MB + Engine InnoDB
dGz55Htl9_posts: Data: 22.31MB + Index: 0.56MB + Engine InnoDB
dGz55Htl9_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_term_relationships: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
dGz55Htl9_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
dGz55Htl9_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_wc_fs_licensed_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_fs_license_key_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_fs_product_licenses_keys: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_wc_fs_product_licenses_keys_generator_rules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_fs_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
dGz55Htl9_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
dGz55Htl9_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_wc_product_attributes_lookup: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_product_meta_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
dGz55Htl9_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_woodmart_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_wpml_mails: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
dGz55Htl9_wpr_rocket_cache: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
dGz55Htl9_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
dGz55Htl9_yoast_indexable: Data: 1.28MB + Index: 0.48MB + Engine InnoDB
dGz55Htl9_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
dGz55Htl9_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
dGz55Htl9_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
dGz55Htl9_yoast_seo_links: Data: 1.28MB + Index: 0.47MB + Engine InnoDB

Post Type Counts

attachment: 2531
cms_block: 26
docs: 5
elementor_library: 14
nav_menu_item: 68
page: 44
post: 10
product: 132
product_variation: 360
revision: 200
shop_order: 17
shop_order_refund: 1
woodmart_layout: 12
woodmart_sidebar: 1
woodmart_size_guide: 1
woodmart_slide: 3
wp_global_styles: 3
wpcf7_contact_form: 2

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (30)

WPML Multilingual CMS: by OnTheGoSystems – 4.5.11
WPML SEO: by OnTheGoSystems – 2.1.0
FS License Manager: by Firas Saidi – 5.0.3
Akismet Anti-Spam: by Automattic – 5.0.1
Better Search Replace: by Delicious Brains – 1.4.1
Contact Form 7: by Takayuki Miyoshi – 5.6.4
Cyr-To-Lat: by Sergey Biryukov
Mikhail Kobzarev
Igor Gergel – 5.3.0

Default Attributes for WooCommerce: by Condless – 1.1.2
Elementor: by Elementor.com – 3.7.8
EWWW Image Optimizer: by Exactly WWW – 6.9.1
Facebook for WooCommerce: by Facebook – 2.6.27
Hotjar: by Hotjar – 1.0.14
Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.8
Order Status Control for WooCommerce: by Bright Plugins – 1.0.1
Permalink Manager for WooCommerce: by BeRocket – 1.0.7.6
Safe SVG: by 10up – 2.0.3
Checkout Field Editor for WooCommerce: by ThemeHigh – 1.7.2
Preview E-mails for WooCommerce: by Digamber Pradhan – 2.1.1
WooCommerce Stripe Gateway: by WooCommerce – 6.9.0
WooCommerce Google Analytics Integration: by WooCommerce – 1.5.15
WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.0.2
WooCommerce: by Automattic – 7.0.0
Woodmart Core: by – 1.0.35
Yoast SEO: by Team Yoast – 19.8
WP Crontrol: by John Blackbourn & crontributors – 1.14.0
WP Mail Logging: by Wysija – 1.10.4
WP Rocket: by WP Media – 3.12.2
WPML Media: by OnTheGoSystems – 2.7.1
WPML String Translation: by OnTheGoSystems – 3.2.2
Yoast SEO: WooCommerce: by Team Yoast – 15.2

Inactive Plugins (8)

Autocomplete WooCommerce Orders: by QuadLayers – 1.6.0
BetterDocs: by WPDeveloper – 2.1.6
FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.20.0
Google Listings and Ads: by WooCommerce – 2.2.0
Query Monitor: by John Blackbourn – 3.10.1
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
WooCommerce Order Test - WP Fix It: by WP Fix It – 2.1
WP Super Cache: by Automattic – 1.9

Dropin Plugins (2)

advanced-cache.php: advanced-cache.php
maintenance.php: maintenance.php

Must Use Plugins (1)

Elementor Safe Mode: by Elementor.com – 1.0.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)
subscription (subscription)
variable (variable)
variable subscription (variable-subscription)

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: #6 - /shop/
Cart: #7 - /cart/
Checkout: #8 - /checkout/
My account: #9 - /my-account/
Terms and conditions: #518 - /terms-and-conditions/

Theme

Name: Woodmart Child
Version: 1.0.0
Author URL: http://xtemos.com
Child Theme: ✔
Parent Theme Name: Woodmart
Parent Theme Version: 7.0.3
Parent Theme Author URL: http://themeforest.net/user/xtemos
WooCommerce Support: ✔

Templates

Overrides: woodmart/woocommerce/archive-product.php
woodmart/woocommerce/cart/cart-item-data.php
woodmart/woocommerce/cart/cart.php
woodmart/woocommerce/cart/cross-sells.php
woodmart/woocommerce/cart/mini-cart.php
woodmart/woocommerce/checkout/form-checkout.php
woodmart/woocommerce/checkout/thankyou.php
woodmart/woocommerce/content-product-cat.php
woodmart/woocommerce/content-product.php
woodmart/woocommerce/content-single-product.php
woodmart/woocommerce/content-widget-product.php
woodmart-child/woocommerce/emails/customer-completed-order.php
woodmart-child/woocommerce/emails/email-customer-details.php
woodmart-child/woocommerce/emails/email-header.php
woodmart-child/woocommerce/emails/email-order-details.php
woodmart-child/woocommerce/emails/email-order-items.php
woodmart-child/woocommerce/emails/email-styles.php
woodmart/woocommerce/global/breadcrumb.php
woodmart/woocommerce/global/form-login.php
woodmart/woocommerce/global/quantity-input.php
woodmart/woocommerce/loop/add-to-cart.php
woodmart/woocommerce/loop/loop-end.php
woodmart/woocommerce/loop/loop-start.php
woodmart/woocommerce/loop/no-products-found.php
woodmart/woocommerce/loop/orderby.php
woodmart/woocommerce/loop/pagination.php
woodmart/woocommerce/loop/sale-flash.php
woodmart/woocommerce/myaccount/form-login.php
woodmart/woocommerce/product-searchform.php
woodmart/woocommerce/single-product/add-to-cart/grouped.php
woodmart/woocommerce/single-product/add-to-cart/variable.php
woodmart/woocommerce/single-product/meta.php
woodmart/woocommerce/single-product/product-attributes.php
woodmart/woocommerce/single-product/product-image.php
woodmart/woocommerce/single-product/product-thumbnails.php
woodmart/woocommerce/single-product/rating.php
woodmart/woocommerce/single-product/related.php
woodmart/woocommerce/single-product/sale-flash.php
woodmart/woocommerce/single-product/tabs/description.php
woodmart/woocommerce/single-product/tabs/tabs.php
woodmart/woocommerce/single-product/title.php
woodmart/woocommerce/single-product/up-sells.php
woodmart/woocommerce/single-product.php

Admin

Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
experimental-product-tour
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-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
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page

Disabled Features: minified-js
new-product-management-experience
settings

Daily Cron: ✔ Next scheduled: 2022-10-25 08:30:30 +06:00
Options: ✔
Notes: 42
Onboarding: completed

Action Scheduler

Complete: 1,536
Oldest: 2022-09-23 13:44:03 +0000
Newest: 2022-10-24 08:53:17 +0000

Failed: 3
Oldest: 2022-08-13 09:49:35 +0000
Newest: 2022-08-13 09:49:43 +0000

Pending: 4
Oldest: 2022-10-24 08:54:17 +0000
Newest: 2022-10-25 08:45:21 +0000

Status report information

Generated at: 2022-10-24 14:53:20 +06:00

Stripe log:

Expand

2022-10-23T00:51:19+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents request: Array
(
[amount] => 2990
[currency] => usd
[payment_method_types] => Array
(
[0] => card
[1] => link
)

[capture_method] => automatic

)

====End Log====

2022-10-23T01:06:36+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T03:22:06+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:17:49+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents request: Array
(
[amount] => 2990
[currency] => usd
[payment_method_types] => Array
(
[0] => card
[1] => link
)

[capture_method] => automatic

)

====End Log====

2022-10-23T05:46:52+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:52+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:52+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:52+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:53+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:53+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:53+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:53+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T05:46:54+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T07:46:59+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T09:47:02+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T11:54:27+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T14:13:17+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T15:50:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents request: Array
(
[amount] => 1090
[currency] => eur
[payment_method_types] => Array
(
[0] => card
[1] => giropay
[2] => eps
[3] => bancontact
[4] => ideal
[5] => sepa_debit
[6] => p24
[7] => sofort
)

[capture_method] => automatic

)

====End Log====

2022-10-23T15:52:39+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
customers request: Array
(
[email] => [email protected]
[description] => Name: Milovan , Guest
[name] => Milovan
[metadata] => Array
(
)

[preferred_locales] => Array
    (
        [0] => en-US
    )

)

====End Log====

2022-10-23T15:52:39+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents/pi_3Lw6RmKZnjS62huK0KeiKmtK request: Array
(
[amount] => 1090
[currency] => EUR
[statement_descriptor] => ONESIM* #13879
[description] => Onesim - Order 13879
[customer] => cus_MfRMHcc5konS1u
[payment_method_types] => Array
(
[0] => card
[1] => link
)

[metadata] => Array
    (
        [customer_name] => Milovan 
        [customer_email] => [email protected]
        [site_url] => https://onesim.co
        [order_id] => 13879
        [order_key] => wc_order_moVker09FdaX8
        [payment_type] => single
    )

)

====End Log====

2022-10-23T15:52:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Stripe PaymentIntent pi_3Lw6RmKZnjS62huK0KeiKmtK succeeded for order 13879
====End Log====

2022-10-23T15:52:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Processing response: stdClass Object
(
[id] => ch_3Lw6RmKZnjS62huK07OaUOjb
[object] => charge
[amount] => 1090
[amount_captured] => 1090
[amount_refunded] => 0
[application] =>
[application_fee] =>
[application_fee_amount] =>
[balance_transaction] => txn_3Lw6RmKZnjS62huK0VFTkj4P
[billing_details] => stdClass Object
(
[address] => stdClass Object
(
[city] => -
[country] => ME
[line1] => -
[line2] => -
[postal_code] => -
[state] => -
)

        [email] => [email protected]
        [name] => Milovan undefined
        [phone] => -
    )

[calculated_statement_descriptor] => ONESIM* #13879
[captured] => 1
[created] => 1666540361
[currency] => eur
[customer] => cus_MfRMHcc5konS1u
[description] => Onesim - Order 13879
[destination] => 
[dispute] => 
[disputed] => 
[failure_balance_transaction] => 
[failure_code] => 
[failure_message] => 
[fraud_details] => stdClass Object
    (
    )

[invoice] => 
[livemode] => 1
[metadata] => stdClass Object
    (
        [order_key] => wc_order_moVker09FdaX8
        [site_url] => https://onesim.co
        [order_id] => 13879
        [customer_email] => [email protected]
        [payment_type] => single
        [customer_name] => Milovan 
    )

[on_behalf_of] => 
[order] => 
[outcome] => stdClass Object
    (
        [network_status] => approved_by_network
        [reason] => 
        [risk_level] => normal
        [seller_message] => Payment complete.
        [type] => authorized
    )

[paid] => 1
[payment_intent] => pi_3Lw6RmKZnjS62huK0KeiKmtK
[payment_method] => pm_1Lw6TcKZnjS62huKMQOJVZOZ
[payment_method_details] => stdClass Object
    (
        [card] => stdClass Object
            (
                [brand] => visa
                [checks] => stdClass Object
                    (
                        [address_line1_check] => unavailable
                        [address_postal_code_check] => unavailable
                        [cvc_check] => pass
                    )

                [country] => ME
                [exp_month] => 8
                [exp_year] => 2025
                [fingerprint] => adYpSCtwmQ7FAMZO
                [funding] => prepaid
                [installments] => 
                [last4] => 6993
                [mandate] => 
                [network] => visa
                [three_d_secure] => 
                [wallet] => 
            )

        [type] => card
    )

[receipt_email] => 
[receipt_number] => 
[receipt_url] => https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMa1VnU0tabmpTNjJodUsoy8bVmgYyBh5R3ts2wzosFsAHpBXuXhvrYhORRgTrIrejC5R-0HPcop_qNr0c4cKka-3BdVstLMNtt5s
[refunded] => 
[refunds] => stdClass Object
    (
        [object] => list
        [data] => Array
            (
            )

        [has_more] => 
        [total_count] => 0
        [url] => /v1/charges/ch_3Lw6RmKZnjS62huK07OaUOjb/refunds
    )

[review] => 
[shipping] => 
[source] => 
[source_transfer] => 
[statement_descriptor] => ONESIM* #13879
[statement_descriptor_suffix] => 
[status] => succeeded
[transfer_data] => 
[transfer_group] => 

)

====End Log====

2022-10-23T15:52:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
balance/history/txn_3Lw6RmKZnjS62huK0VFTkj4P
====End Log====

2022-10-23T15:52:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Begin processing UPE redirect payment for order 13879 for the amount of 10.90
====End Log====

2022-10-23T15:52:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents/pi_3Lw6RmKZnjS62huK0KeiKmtK?expand[]=payment_method
====End Log====

2022-10-23T15:52:46+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Could not find order via charge ID: ch_3Lw6RmKZnjS62huK07OaUOjb
====End Log====

2022-10-23T15:52:47+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Processing response: stdClass Object
(
[id] => ch_3Lw6RmKZnjS62huK07OaUOjb
[object] => charge
[amount] => 1090
[amount_captured] => 1090
[amount_refunded] => 0
[application] =>
[application_fee] =>
[application_fee_amount] =>
[balance_transaction] => txn_3Lw6RmKZnjS62huK0VFTkj4P
[billing_details] => stdClass Object
(
[address] => stdClass Object
(
[city] => -
[country] => ME
[line1] => -
[line2] => -
[postal_code] => -
[state] => -
)

        [email] => [email protected]
        [name] => Milovan undefined
        [phone] => -
    )

[calculated_statement_descriptor] => ONESIM* #13879
[captured] => 1
[created] => 1666540361
[currency] => eur
[customer] => cus_MfRMHcc5konS1u
[description] => Onesim - Order 13879
[destination] => 
[dispute] => 
[disputed] => 
[failure_balance_transaction] => 
[failure_code] => 
[failure_message] => 
[fraud_details] => stdClass Object
    (
    )

[invoice] => 
[livemode] => 1
[metadata] => stdClass Object
    (
        [customer_email] => [email protected]
        [customer_name] => Milovan 
        [order_id] => 13879
        [order_key] => wc_order_moVker09FdaX8
        [payment_type] => single
        [site_url] => https://onesim.co
    )

[on_behalf_of] => 
[order] => 
[outcome] => stdClass Object
    (
        [network_status] => approved_by_network
        [reason] => 
        [risk_level] => normal
        [seller_message] => Payment complete.
        [type] => authorized
    )

[paid] => 1
[payment_intent] => pi_3Lw6RmKZnjS62huK0KeiKmtK
[payment_method] => pm_1Lw6TcKZnjS62huKMQOJVZOZ
[payment_method_details] => stdClass Object
    (
        [card] => stdClass Object
            (
                [brand] => visa
                [checks] => stdClass Object
                    (
                        [address_line1_check] => unavailable
                        [address_postal_code_check] => unavailable
                        [cvc_check] => pass
                    )

                [country] => ME
                [exp_month] => 8
                [exp_year] => 2025
                [fingerprint] => adYpSCtwmQ7FAMZO
                [funding] => prepaid
                [installments] => 
                [last4] => 6993
                [mandate] => 
                [network] => visa
                [three_d_secure] => 
                [wallet] => 
            )

        [type] => card
    )

[receipt_email] => 
[receipt_number] => 
[receipt_url] => https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMa1VnU0tabmpTNjJodUsozsbVmgYyBog9kE82ezosFjQd5HmZNLbJXQFtQZt1LOT3muJhXNhXln0do0-VO04lc0JwDMF5bRd-qOg
[refunded] => 
[refunds] => stdClass Object
    (
        [object] => list
        [data] => Array
            (
            )

        [has_more] => 
        [total_count] => 0
        [url] => /v1/charges/ch_3Lw6RmKZnjS62huK07OaUOjb/refunds
    )

[review] => 
[shipping] => 
[source] => 
[source_transfer] => 
[statement_descriptor] => ONESIM* #13879
[statement_descriptor_suffix] => 
[status] => succeeded
[transfer_data] => 
[transfer_group] => 

)

====End Log====

2022-10-23T15:52:47+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
balance/history/txn_3Lw6RmKZnjS62huK0VFTkj4P
====End Log====

2022-10-23T16:21:02+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:02+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:02+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:03+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:03+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:04+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:05+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:05+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T16:21:06+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T18:22:01+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T18:34:28+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents request: Array
(
[amount] => 1590
[currency] => usd
[payment_method_types] => Array
(
[0] => card
[1] => link
)

[capture_method] => automatic

)

====End Log====

2022-10-23T18:36:25+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
customers request: Array
(
[email] => [email protected]
[description] => Name: Igori , Guest
[name] => Igori
[metadata] => Array
(
)

[preferred_locales] => Array
    (
        [0] => en-US
    )

)

====End Log====

2022-10-23T18:36:25+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents/pi_3Lw90DKZnjS62huK1Jgv07or request: Array
(
[amount] => 1590
[currency] => USD
[statement_descriptor] => ONESIM* #13880
[description] => Onesim - Order 13880
[customer] => cus_MfU075Jfaf1hVA
[payment_method_types] => Array
(
[0] => card
[1] => link
)

[metadata] => Array
    (
        [customer_name] => Igori 
        [customer_email] => [email protected]
        [site_url] => https://onesim.co
        [order_id] => 13880
        [order_key] => wc_order_s8HPfLEV1vrYk
        [payment_type] => single
    )

)

====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Begin processing UPE redirect payment for order 13880 for the amount of 15.90
====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
payment_intents/pi_3Lw90DKZnjS62huK1Jgv07or?expand[]=payment_method
====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Stripe PaymentIntent pi_3Lw90DKZnjS62huK1Jgv07or succeeded for order 13880
====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Processing response: stdClass Object
(
[id] => ch_3Lw90DKZnjS62huK1ANjUbAq
[object] => charge
[amount] => 1590
[amount_captured] => 1590
[amount_refunded] => 0
[application] =>
[application_fee] =>
[application_fee_amount] =>
[balance_transaction] => txn_3Lw90DKZnjS62huK1JOIIMXw
[billing_details] => stdClass Object
(
[address] => stdClass Object
(
[city] => -
[country] => MD
[line1] => -
[line2] => -
[postal_code] => -
[state] => -
)

        [email] => [email protected]
        [name] => Igori undefined
        [phone] => -
    )

[calculated_statement_descriptor] => ONESIM* #13880
[captured] => 1
[created] => 1666550187
[currency] => usd
[customer] => cus_MfU075Jfaf1hVA
[description] => Onesim - Order 13880
[destination] => 
[dispute] => 
[disputed] => 
[failure_balance_transaction] => 
[failure_code] => 
[failure_message] => 
[fraud_details] => stdClass Object
    (
    )

[invoice] => 
[livemode] => 1
[metadata] => stdClass Object
    (
        [order_key] => wc_order_s8HPfLEV1vrYk
        [site_url] => https://onesim.co
        [order_id] => 13880
        [payment_type] => single
        [customer_email] => [email protected]
        [customer_name] => Igori 
    )

[on_behalf_of] => 
[order] => 
[outcome] => stdClass Object
    (
        [network_status] => approved_by_network
        [reason] => 
        [risk_level] => normal
        [seller_message] => Payment complete.
        [type] => authorized
    )

[paid] => 1
[payment_intent] => pi_3Lw90DKZnjS62huK1Jgv07or
[payment_method] => pm_1Lw926KZnjS62huKSWd6dJH8
[payment_method_details] => stdClass Object
    (
        [card] => stdClass Object
            (
                [brand] => visa
                [checks] => stdClass Object
                    (
                        [address_line1_check] => unavailable
                        [address_postal_code_check] => unavailable
                        [cvc_check] => pass
                    )

                [country] => US
                [exp_month] => 5
                [exp_year] => 2027
                [fingerprint] => VfgCNLdBckAhVmow
                [funding] => credit
                [installments] => 
                [last4] => 4754
                [mandate] => 
                [network] => visa
                [three_d_secure] => 
                [wallet] => 
            )

        [type] => card
    )

[receipt_email] => 
[receipt_number] => 
[receipt_url] => https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMa1VnU0tabmpTNjJodUsorJPWmgYyBhMLK6_eFzosFhqXKeewv9oltIgfu_UcukNtRRCB5m1HFK5gBvJ55lDdAyRs69swM2E2GIg
[refunded] => 
[refunds] => stdClass Object
    (
        [object] => list
        [data] => Array
            (
            )

        [has_more] => 
        [total_count] => 0
        [url] => /v1/charges/ch_3Lw90DKZnjS62huK1ANjUbAq/refunds
    )

[review] => 
[shipping] => 
[source] => 
[source_transfer] => 
[statement_descriptor] => ONESIM* #13880
[statement_descriptor_suffix] => 
[status] => succeeded
[transfer_data] => 
[transfer_group] => 

)

====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
balance/history/txn_3Lw90DKZnjS62huK1JOIIMXw
====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Could not find order via charge ID: ch_3Lw90DKZnjS62huK1ANjUbAq
====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
Processing response: stdClass Object
(
[id] => ch_3Lw90DKZnjS62huK1ANjUbAq
[object] => charge
[amount] => 1590
[amount_captured] => 1590
[amount_refunded] => 0
[application] =>
[application_fee] =>
[application_fee_amount] =>
[balance_transaction] => txn_3Lw90DKZnjS62huK1JOIIMXw
[billing_details] => stdClass Object
(
[address] => stdClass Object
(
[city] => -
[country] => MD
[line1] => -
[line2] => -
[postal_code] => -
[state] => -
)

        [email] => [email protected]
        [name] => Igori undefined
        [phone] => -
    )

[calculated_statement_descriptor] => ONESIM* #13880
[captured] => 1
[created] => 1666550187
[currency] => usd
[customer] => cus_MfU075Jfaf1hVA
[description] => Onesim - Order 13880
[destination] => 
[dispute] => 
[disputed] => 
[failure_balance_transaction] => 
[failure_code] => 
[failure_message] => 
[fraud_details] => stdClass Object
    (
    )

[invoice] => 
[livemode] => 1
[metadata] => stdClass Object
    (
        [customer_email] => [email protected]
        [customer_name] => Igori 
        [order_id] => 13880
        [order_key] => wc_order_s8HPfLEV1vrYk
        [payment_type] => single
        [site_url] => https://onesim.co
    )

[on_behalf_of] => 
[order] => 
[outcome] => stdClass Object
    (
        [network_status] => approved_by_network
        [reason] => 
        [risk_level] => normal
        [seller_message] => Payment complete.
        [type] => authorized
    )

[paid] => 1
[payment_intent] => pi_3Lw90DKZnjS62huK1Jgv07or
[payment_method] => pm_1Lw926KZnjS62huKSWd6dJH8
[payment_method_details] => stdClass Object
    (
        [card] => stdClass Object
            (
                [brand] => visa
                [checks] => stdClass Object
                    (
                        [address_line1_check] => unavailable
                        [address_postal_code_check] => unavailable
                        [cvc_check] => pass
                    )

                [country] => US
                [exp_month] => 5
                [exp_year] => 2027
                [fingerprint] => VfgCNLdBckAhVmow
                [funding] => credit
                [installments] => 
                [last4] => 4754
                [mandate] => 
                [network] => visa
                [three_d_secure] => 
                [wallet] => 
            )

        [type] => card
    )

[receipt_email] => 
[receipt_number] => 
[receipt_url] => https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMa1VnU0tabmpTNjJodUsor5PWmgYyBhGGGp6b1zosFhRyMrIIe6NMEGT-rttNi1JxYNJ_Se6DN-b0rYtD448KvJfhfBj8kL6FObw
[refunded] => 
[refunds] => stdClass Object
    (
        [object] => list
        [data] => Array
            (
            )

        [has_more] => 
        [total_count] => 0
        [url] => /v1/charges/ch_3Lw90DKZnjS62huK1ANjUbAq/refunds
    )

[review] => 
[shipping] => 
[source] => 
[source_transfer] => 
[statement_descriptor] => ONESIM* #13880
[statement_descriptor_suffix] => 
[status] => succeeded
[transfer_data] => 
[transfer_group] => 

)

====End Log====

2022-10-23T18:36:31+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
balance/history/txn_3Lw90DKZnjS62huK1JOIIMXw
====End Log====

2022-10-23T20:23:51+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====

2022-10-23T22:28:10+00:00 DEBUG
====Stripe Version: 6.9.0====
====Start Log====
account
====End Log====


  • Issue assigned to next milestone.
  • Issue assigned a priority (will be assessed by maintainers).
@reykjalin reykjalin added type: bug The issue is a confirmed bug. impact: high This issue impacts a lot of users as reported by our Happiness Engineers. labels Nov 17, 2022
@xuexue28
Copy link

@densitysk
Copy link

HI, I have this same issue as well when new checkout experience is enabled. This is indirectly also causing the emails being marked as spam with some customers as they are getting multiple same messages. Please provide a fix if possible and not a workaround. Kind regards

@nekszt
Copy link

nekszt commented Dec 4, 2022

Hi,
This issue was already reported since April #2331
For now the workaround proposed is a feature kill

@jtobiesen
Copy link

One more example 5807905-zd-woothemes

@Babylon1999
Copy link

one more zd-7161755

@diegocurbelo diegocurbelo added component: UPE Issues related to adding UPE functionality and removed impact: high This issue impacts a lot of users as reported by our Happiness Engineers. labels Jan 24, 2024
@ryanr14
Copy link
Member

ryanr14 commented Apr 12, 2024

8017760-zen

@shameemreza
Copy link

Perhaps another report here: 8076275-zen
Frum thread: https://wordpress.org/support/topic/https-wordpress-org-support-topic-duplicate-order-notification-emails-3/

As a workaround, I suggested using the legacy checkout experience.

@shameemreza
Copy link

Update: Enabling the legacy checkout experience seems to resolve the issue in most cases.

@shameemreza
Copy link

Another report here: 8046423-zen

@dabesa
Copy link

dabesa commented Apr 24, 2024

We have the same issue:

  • confirmation emails are sent multiple times
  • note added multiple times "Order status changed from Pending payment to Preparing."
  • we have "WooCommerce Xero Integration" plugin, and multiple invoices are generated as well

I noticed it happens mostly with iDeal payment method, but not only with that method.

Anything needed? I can provide any log you need to identify the issue, I had Debug mode enabled.

Thanks

@nathaningram
Copy link

Also happening to 3 sites we manage. Exactly this behavior. Double notification emails, double inventory reductions. But it also doesn't happen every time which is maddening.

For us, it started after the 8.0 plugin update on 2024-02-29.

@imodouglas
Copy link

8060932-zen

@anastas10s-afk
Copy link
Contributor

I'll go ahead with pinging @a-danae, as I find it odd no-one is assigned to this. Cheers!

@densitysk
Copy link

same here as well. It happened a while ago and stopped. After recent updates customers are again receiving double emails, double notes are present in backend and double inventory reductions, which is a massive disaster for managing stock. Please provide a fix

@shameemreza
Copy link

Another report here: 8109544-zen

@shameemreza
Copy link

Another report: 8128435-zen
Thread: https://wordpress.org/support/topic/woocommerce-e-mails-sent-twice/

@dabesa
Copy link

dabesa commented May 2, 2024

@shameemreza when is this going to be assigned?

@blelmx
Copy link

blelmx commented May 3, 2024

Hi, I just want to add to report 8128435-zen that was created by me.
I believe the problem I have encountered has something to do with WPML multi-currency. I use WPML for French (default) and English (translation) - canadian currency. When the problem occurred my site had 2 currencies configured so the $ sign is located on the left side for English). WPML suggests creating a dummy currency (I chose USD) with 1 to 1 ratio and $ sign place to left... (https://wpml.org/forums/topic/dollar-sign-placement/#post-6710557).
When I created a test order in the translated language (English), the order notes shows two status changes and I received 2 processing emails, one for each language. The amount on each email was good with $ sign at different place for each email.
Also, I was charged the USD rate on my credit card (which was not supposed to)...
I decided to remove the multi-currency function on WPML and created another test order. The issue went away.

Thanks,
Bernard

@dabesa
Copy link

dabesa commented May 4, 2024 via email

@daniyalahmadk
Copy link

Another report 7598919-zen

@shameemreza
Copy link

Another Report here: 8147123-zen
Thread: https://wordpress.org/support/topic/sending-2-emails-on-new-orders/

@a-danae a-danae self-assigned this May 6, 2024
@koendolron
Copy link

I am facing the same issue on my site. We see the following happening:

  1. Double order notes (both the Pending Payment to Processing and the Stripe Charge Complete with identical Charge ID)
  2. Double order notification emails.
  3. In the WooCommerce logging (from Stripe) we also see all request twice.

How can I contribute to helping this issue, can I provide you with more specific information?
I see people in this thread referring to using WPML. We are not using WPML, but we are using TranslatePress

@a-danae
Copy link
Contributor

a-danae commented May 17, 2024

Hi! 👋 Update over here.

We're shipping changes in the upcoming release, 8.3.0, that we believe will fix this problem. I haven't been able to replicate this, but we've updated some of the processes behind the reported behavior.

We'd like to learn whether that version solves this for you, once it's out. We'll revisit this issue from there.

@koendolron
Copy link

koendolron commented May 21, 2024 via email

@shameemreza
Copy link

Another report here: 8219713-zen

@Hans9985
Copy link

Hans9985 commented Aug 9, 2024

Works fine for me. Only tested it in test-mode as my site is in development.

No duplicate emails, no double reduction of stock.

Great work, thank you!

@tjurkiewicz-warrrl
Copy link

Hi @a-danae, we won't be testing the new checkout experience on prod just yet. @livingperson previously indicated that switching BACK to legacy checkout resulted in an issue causing interruption to regular orders. However I can confirm that WooCommerce Stripe Gateway was updated on the weekend to 8.6.1 on prod and we are still seeing successful Stripe payments come through, with no reported issues. We are still using the legacy checkout option. Thanks @livingperson for the good writeup.

@arebstar1
Copy link

I updated to the latest version 8.6.1 and with the new checkout experience and the update stopped the duplicate order processing emails. Looks fixed! Amazing!

@mkalina
Copy link

mkalina commented Aug 14, 2024

8.6.1, new checkout experience, duplicate order and processing emails are still there. Also, stock is changed twice, which is especially weird as I now have items with a stock of -1!

@Mayisha
Copy link
Contributor

Mayisha commented Aug 14, 2024

Hi @mkalina

8.6.1, new checkout experience, duplicate order and processing emails are still there. Also, stock is changed twice, which is especially weird as I now have items with a stock of -1!

Could you please share some more information about the affected orders to help us debug?

  1. How many orders are affected after updating to 8.6.1?
  2. Which payment methods were used?
  3. A screenshot of one of the order notes.
  4. Logs related to the order for which you will be sharing the order notes. You can find the logs in WooCommerce > Status > Logs and share that day's logs for the Stripe gateway.

@mkalina
Copy link

mkalina commented Aug 14, 2024

Hi @Mayisha,

How many orders are affected after updating to 8.6.1?

Can't really tell as I did not log when exactly we updated to 8.6.1. However, it is not all orders, but some of them. I tried - even with real data and no test mode - to recreate an order. I got that email once and the stock was lowered by one. (In other words: I cannot recreate the issue.)

Which payment methods were used?

Credit Card payments every single time.

A screenshot of one of the order notes.

Here you go. (Note the stock, too!)

order-notes

Logs related to the order for which you will be sharing the order notes. You can find the logs in WooCommerce > Status > Logs and share that day's logs for the Stripe gateway.

Unfortunately I did not have them active until I noticed the error. They are now and the moment I have an error or the duplicate email/status update/stock goes below 0-issue, I will upload it here!

@OmarFPG
Copy link

OmarFPG commented Aug 20, 2024

Also reported here: https://wordpress.org/support/topic/sepa-duplicate-payments-for-same-order/
8631187-zen

I also tested this on one of my test sites with only WooCommerce, Stripe and Storefront, I can confirm the double emails for the customer. I got a single email for admin, and stock was reduced only once, though.

@aurelio-r
Copy link

aurelio-r commented Sep 1, 2024

I still get double Processing Order emails for customer and double New Order emails for admin. As for other users, the status is changed from pending to Processing twice. I am using stripe in Test mode and the following plug-in versions
WooCommerce Stripe Gateway: 8.6.1
Stripe Payment Gateway for WooCommerce: 1.8.2
WooCommerce : 9.2.3

Any ideas?

screen3

@Mayisha
Copy link
Contributor

Mayisha commented Sep 3, 2024

@aurelio-r @OmarFPG could you please confirm what payment methods were used in your affected orders? It will help us debug the issue as we try to reproduce it.

@aurelio-r
Copy link

@aurelio-r @OmarFPG could you please confirm what payment methods were used in your affected orders? It will help us debug the issue as we try to reproduce it.

I used these Stripe's test payment methods: test credit cards and iDeal (redirects option) from https://docs.stripe.com/testing

@ally-sellit
Copy link

We started having this issue a few days ago after upgrading woocommerce-gateway-stripe 8.5.2 -> 8.6.1

We cannot reproduce in our staging environment (both with stripe in Live and Test mode)

We are also using woocommerce-subscriptions (6.6.0) and woocommerce-memberships (1.26.8)

Wordpress core 6.6.1

Woocommerce 9.2.3

We are seeing the duplicate notes stating a subscription is activated, and we see that our woocommerce subscription updated webhook is also firing twice. This causes race conditions in our pipeline, but doesn't seem to cause more than one charge on stripe

We noticed that subscriptions without a free trial period do not get the extra activation event.

Screenshot 2024-09-03 at 3 45 28 PM

@ally-sellit
Copy link

We started having this issue a few days ago after upgrading woocommerce-gateway-stripe 8.5.2 -> 8.6.1

We cannot reproduce in our staging environment (both with stripe in Live and Test mode)

We are also using woocommerce-subscriptions (6.6.0) and woocommerce-memberships (1.26.8)

Wordpress core 6.6.1

Woocommerce 9.2.3

We are seeing the duplicate notes stating a subscription is activated, and we see that our woocommerce subscription updated webhook is also firing twice. This causes race conditions in our pipeline, but doesn't seem to cause more than one charge on stripe

We noticed that subscriptions without a free trial period do not get the extra activation event.

Screenshot 2024-09-03 at 3 45 28 PM

Adding a note here that we noticed the same woocommerce membership has been assigned twice, with duplicate membership activity notes logged as well. (our setup is confusing because our base membership is for a product called membership)

Screenshot 2024-09-04 at 2 39 45 PM

@solaceten
Copy link

Hello. Adding to this ticket because I have the same issue with two different websites.

On both sites, I am running the new Stripe setup v.8.8.0 (just changed over), I am not using Legacy setup.

I received two (duplicates) and in the order notes, I see duplicated entries for "Stripe charge complete (Charge ID" and also duplicates entries for "Order status changed from Pending payment to Completed."

Customer is only receiving single email, but admin gets two [new order] emails.

I am running WP in WordPress posts storage (legacy) mode, b ut with compatibility mode enabled - maybe that is the issue? Two order tables essentially??

What is the fix? Should I downgrade back to 8.7?

@n9yty
Copy link

n9yty commented Oct 28, 2024

This happened on our site and caused a real mess due to other hooks we were using that were also fired again. Major cleanup work ahead to resolve all the side effects of this horrible bug that has still not been fixed!

@solaceten
Copy link

solaceten commented Oct 29, 2024

@Mayisha
@a-danae

I think you should re-open this ticket

Image

@diegocurbelo diegocurbelo reopened this Oct 29, 2024
@diegocurbelo diegocurbelo assigned mattallan and unassigned a-danae Oct 29, 2024
@diegocurbelo diegocurbelo added the priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. label Oct 29, 2024
@solaceten
Copy link

Hello @diegocurbelo

Thanks for supporting the change to re-open this. There are a lot of comments on the other thread - perhaps we could merge them into a single thread?

Duplicate Vendor/Customer Order Emails and Order Notes #3501

@haleyndixon
Copy link

Reported here

@sophiegyo
Copy link

Another report in 8975179-zd.

@guicmazeredo
Copy link

Another report in 8975314-zd

@Speckytoe
Copy link

I'm having the same issue. Double notes on orders - " Order status changed from Pending payment to Processing. "

@ThyranWright
Copy link

ThyranWright commented Nov 7, 2024

Having the same issue double notes on orders creating duplicate emails. Woo Support suggested switching to legacy mode which I have but it has had no effect still experiencing the issue.

Edit: Updating to 8.8.2 fixed the issue

@mattallan
Copy link
Contributor

Hi all, last week (Nov 8th, 2024) we released Stripe 8.8.2 which shipped 3 changes to fix these double order notes and emails:

From testing, we found that stores with object caching enabled were having the Webhook sent by Stripe processed in parallel with current payment request. This resulted in us calling $order->payment_complete() twice (resulting in duplicate emails) and also adding the "Stripe charge completed" order note twice.

The key changes we made were:

  • Process webhooks sent by Stripe asynchronously (this will force them to never run in parallel)
  • Don't use transients to lock orders from being processed by the webhook while we're still processing the current payment (transients don't work well with object caches)

Please update to 8.8.2 and let me know if you're still getting these duplicate order notes/emails.

If you're still having issues please add a comment to #3501 so we can investigate it further. Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: UPE Issues related to adding UPE functionality priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.
Projects
None yet