woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
229 stars 201 forks source link

Double Notes & Double Emails #2463

Closed DaniyarIsmailov closed 1 month ago

DaniyarIsmailov commented 1 year ago

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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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] => xxx@gmail.com [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====


xuexue28 commented 1 year ago

Another report here: https://wordpress.org/support/topic/multiple-order-confirmations-for-single-paid-order-via-stripe/#post-16215132

densitysk commented 1 year ago

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 commented 1 year ago

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

jtobiesen commented 1 year ago

One more example 5807905-zd-woothemes

Babylon1999 commented 10 months ago

one more zd-7161755

ryanr14 commented 4 months ago

8017760-zen

shameemreza commented 4 months ago

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 commented 4 months ago

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

shameemreza commented 4 months ago

Another report here: 8046423-zen

dabesa commented 4 months ago

We have the same issue:

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 commented 4 months ago

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 commented 4 months ago

8060932-zen

anastas10s-afk commented 4 months ago

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

densitysk commented 4 months ago

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 commented 4 months ago

Another report here: 8109544-zen

shameemreza commented 4 months ago

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

dabesa commented 4 months ago

@shameemreza when is this going to be assigned?

blelmx commented 4 months ago

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 commented 4 months ago

Hi Bernard,

We have the same issue reported, and we do not use wpml.

On Fri, May 3, 2024, 20:38 Bernard Lemieux @.***> wrote:

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). When the problem occurred my site had 2 currencies configured so the $ sign is located on the left site 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

— Reply to this email directly, view it on GitHub https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2463#issuecomment-2093559097, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNY4V5WIKIFAVNEY4AF6VTZAPKTPAVCNFSM6AAAAAARNTIHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJTGU2TSMBZG4 . You are receiving this because you commented.Message ID: @.***>

daniyalahmadk commented 4 months ago

Another report 7598919-zen

shameemreza commented 4 months ago

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

koendolron commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

Great,

Thanks for the update! I’ll wait for the next release and will let you know if the issue is resolved!

Koen

Op 17 mei 2024, om 12:38 heeft Danae Millan @.***> het volgende geschreven:

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.

— Reply to this email directly, view it on GitHub https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2463#issuecomment-2117274970, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQCO6TTZ5A5SKA3KZTFLB3ZCXMZXAVCNFSM6AAAAAARNTIHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJXGI3TIOJXGA. You are receiving this because you are subscribed to this thread.

shameemreza commented 3 months ago

Another report here: 8219713-zen

koendolron commented 2 months ago

Hi there @a-danae ,

We updated the plugin to the latest version, but are still experiencing this issue. Aside from that we are also seeing orders that are being paid by iDeal that are stuck on 'Pending payment', whilst the payment did come through in Stripe. It happens only for orders paid by iDeal, and it happens infrequently and just for some orders. We can't see a pattern on our side. Maybe this is connected, maybe it's not...

See also this issue which is reported by a different user https://github.com/woocommerce/woocommerce-gateway-stripe/issues/3181

Thanks in advance

OmarFPG commented 2 months ago

8319669-zen

tjurkiewicz-warrrl commented 2 months ago

Running WooCommerce Stripe Gateway by WooCommerce – 8.4.0 and recently updated to the new Checkout experience. Immediately started experiencing this issue - double notes, double stock withdrawal, double order email notifications. Disabled new checkout experience and seems to have been resolved. Please update when you have delivered a fix. Thanks!

nicdwilson commented 2 months ago

8091958-zd-a8c

mouligreenlaw commented 2 months ago

8313815-zen

caando123 commented 2 months ago

Hi @a-danae, we are also experiencing this issue as @tjurkiewicz-warrrl. We are on version WooCommerce Stripe Gateway by WooCommerce – 8.4.0

Would be grateful for a fix! :-)

rajwpdev117 commented 1 month ago

8459246-zen

a-danae commented 1 month ago

Thanks everyone for the reports! We can confirm the issue persists after the changes shipped in 8.3.0.

Aside from that we are also seeing orders that are being paid by iDeal that are stuck on 'Pending payment'

@koendolron roger roger. I see you left a comment on the issue describing that problem. Thanks for that! We'll follow up with that behavior over there.

dabesa commented 1 month ago

@shameemreza @a-danae did you ever reproduce the issue? with so many reports from the field, I wonder if we can collect more data for you to investigate...

kmindi commented 1 month ago

What I noticed is that it seems to only be for credit card orders and not SEPA (but only first impressions).

dabesa commented 1 month ago

@kmindi I had this with iDeal payments too (local Dutch payment method)

nwolfdigital commented 1 month ago

Same issue here.

Woocommerce: Version 9.1.2. Stripe Plugin Version: 8.5.2

b6user commented 1 month ago

Putting the legacy checkout back on resolves the issue.

AaronChaos commented 1 month ago

WordPress 6.6.1 Woo 9.1.2 Stripe 8.5.2

Same problem. After an hour or so of debugging, my debug log noted the order changing to processing twice in quick succession, triggering duplicate emails:


2024-07-25 08:25:02 - Order 2148 status changed from pending to processing
--------------------------------------------------
2024-07-25 08:25:03 - Order 2148 status changed from pending to processing
--------------------------------------------------

I added the following code as a temporary measure to check if the order status has actually changed and, if not, prevent another email from sending.

add_action('woocommerce_order_status_changed', 'prevent_duplicate_order_emails', 5, 4);

function prevent_duplicate_order_emails($order_id, $old_status, $new_status, $order) {
    if ($old_status === $new_status) {
        // Remove the action that sends status change emails
        remove_action('woocommerce_order_status_' . $new_status, array('WC_Emails', 'send_transactional_email'));
        remove_action('woocommerce_order_status_' . $new_status . '_notification', array('WC_Emails', 'send_transactional_email'));
    }
}
n9yty commented 1 month ago

Also seeing this, reverting to Legacy checkout fixed it here. Watching for updates.

wilchak commented 1 month ago

Started hitting this bug after disabling legacy checkout. Latest versions of everything.

Hans9985 commented 1 month ago

Got the same issue: double confirmation emails and stock being reduced by 2 items even if the customer only ordered 1 item.

The issue (at least double emails, have not tested for stock reduction) goes away on a staging site with the exact same settings as the live site.

Went back to Legacy checkout and the issue is then gone.

Also see this, which I wrote on a SMTP plugin forum: https://wordpress.org/support/topic/conflict-between-fluentsmtp-and-stripe-payment-gateway-plugin/

But this, which was written by someone else in the same forum, indicates that the issue appears also with other SMTP plugins: https://wordpress.org/support/topic/emails-sent-twice-4/

livingperson commented 1 month ago

WooCommerce 9.1.4 WooCommerce Stripe Gateway 8.5.2

Problem persists. Duplicate emails when people pay with Stripe. Happens on some Stripe orders, not all. Never occurs when paying with PayPal.

haleyndixon commented 1 month ago

Report here 8542417-zd-a8c

livingperson commented 1 month ago

I just ticked the option to "Enable the legacy checkout experience", and it brought our orders to a halt. My client wished to solve the double-email issue urgently, and by doing the only known solution, it broke the site, and we have not seen any orders for hours. We were seeing dozens of orders per hour until that box was checked.

Understandably - my client is very upset.

This simply has to be made a priority. Otherwise - we'll be disabling Stripe, and only using PayPal.

Would you tell me who is working on this today, please, and where we can follow daily updates on the issue?

dabesa commented 1 month ago

It looks like everyone can reproduce this bug, but @diegocurbelo and the folks at WooCommerce :(

a-danae commented 1 month ago

did you ever reproduce the issue? with so many reports from the field, I wonder if we can collect more data for you to investigate...

Thanks for offering a hand on this, @dabesa ! More information would certainly be helpful for us.

I haven't been able to replicate the issue. This report mentions they can't replicate when in test mode, which could explain why we haven't been able to. Still to be confimed.

I see this happens for iDEAL for you. We'll put together some questions that could point us to the right direction here and reach back over here. Thanks again for the offer! 🙂

For further reference, we're grouping all the reports and findings on this epic.

a-danae commented 1 month ago

Hey @DaniyarIsmailov 👋

Question over here regarding this...

  1. In the test mode the issue is not observed

When testing in test mode, did you use the same site with the same URL where you experienced the issue?

I'm trying to confirm that the only thing that changed was the test mode used in the account, and not the webhook or website setup. For example, no staging site with a different URL was used.

a-danae commented 1 month ago

@dabesa, do you happen to have consistent replication steps on your site?

If you do, would you please share them?

If not, do you happen to see patterns shared between the orders that present this issue? For example, the product type, specific customers, or anything else?

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

With which other payment methods you're experiencing this problem?

AaronChaos commented 1 month ago

When testing in test mode, did you use the same site with the same URL where you experienced the issue?

I'm trying to confirm that the only thing that changed was the test mode used in the account, and not the webhook or website setup. For example, no staging site with a different URL was used.

When I cloned my site to staging, on a different URL, the issue was not replicated. As soon as I pushed to the production domain, the issue was back.