woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.39k stars 10.76k forks source link

Order canceled on wordpress but money is well transfered to Stripe #41857

Closed MagaliBernault closed 10 months ago

MagaliBernault commented 10 months ago

Prerequisites

Describe the bug

An order has been placed on our website and confirmed by email to the customer. However, it was in "cancelled" status in WordPress, but the money transfer was completed. In addition, the customer had no email confirmation for his order, and we had no email indicating that an order was failed or not completed.

Expected behavior

The order should have been “accepted” since the money was debited, the customer should have received a confirmation email.

Or, we should have received an email that an order has been canceled. and the customer should not have seen the “your order has been successfully completed” screen.

Actual behavior

The money was transferred, the customer debited, he saw the "order successful" screen but did not receive a confirmation email and neither did we.

Steps to reproduce

We don't know how to reproduce this bug.

WordPress Environment

`

WordPress Environment

WordPress address (URL): https://chateau-beausejour.com Site address (URL): https://chateau-beausejour.com WC Version: 8.3.1 REST API Version: ✔ 8.3.1 WC Blocks Version: ✔ 11.4.9 Action Scheduler Version: ✔ 3.6.4 Log Directory Writable: ✔ WP Version: 6.4.1 WP Multisite: – WP Memory Limit: 512 Mo WP Debug Mode: – WP Cron: ✔ Language: fr_FR External object cache: –

Server Environment

Server Info: Apache PHP Version: 8.2.10 PHP Post Max Size: 130 Mo PHP Time Limit: 165 PHP Max Input Vars: 16000 cURL Version: 7.64.0 OpenSSL/1.1.1n

SUHOSIN Installed: – MySQL Version: 5.7.42-log Max Upload Size: 128 Mo Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔

Database

WC Database Version: 8.3.1 WC Database Prefix: wp_ Taille totale de la base de données: 19.24MB Taille de la base de données: 14.79MB Taille de l’index: 4.45MB wp_woocommerce_sessions: Données : 0.06MB + Index : 0.02MB + Moteur InnoDB wp_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_woocommerce_order_itemmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_actionscheduler_actions: Données : 1.52MB + Index : 0.64MB + Moteur InnoDB wp_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_actionscheduler_logs: Données : 0.47MB + Index : 0.36MB + Moteur InnoDB wp_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_comments: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB wp_eum_logs: Données : 0.22MB + Index : 0.00MB + Moteur InnoDB wp_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_automations: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_mailpoet_automation_runs: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB wp_mailpoet_automation_run_logs: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_mailpoet_automation_run_subjects: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_automation_triggers: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_mailpoet_automation_versions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_custom_fields: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_dynamic_segment_filters: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_feature_flags: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_forms: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_mailpoet_log: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB wp_mailpoet_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_newsletters: Données : 0.05MB + Index : 0.05MB + Moteur InnoDB wp_mailpoet_newsletter_links: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_mailpoet_newsletter_option: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_newsletter_option_fields: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_newsletter_posts: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_newsletter_segment: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_newsletter_templates: Données : 2.52MB + Index : 0.00MB + Moteur InnoDB wp_mailpoet_scheduled_tasks: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_scheduled_task_subscribers: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_segments: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_sending_queues: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_settings: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_statistics_bounces: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_mailpoet_statistics_clicks: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_mailpoet_statistics_forms: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_statistics_newsletters: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_statistics_opens: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB wp_mailpoet_statistics_unsubscribes: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_mailpoet_statistics_woocommerce_purchases: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB wp_mailpoet_stats_notifications: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_subscribers: Données : 0.02MB + Index : 0.23MB + Moteur InnoDB wp_mailpoet_subscriber_custom_field: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_subscriber_ips: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_subscriber_segment: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_subscriber_tag: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_mailpoet_tags: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_user_agents: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_mailpoet_user_flags: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_options: Données : 3.05MB + Index : 0.17MB + Moteur InnoDB wp_postmeta: Données : 1.48MB + Index : 0.17MB + Moteur InnoDB wp_posts: Données : 3.42MB + Index : 0.06MB + Moteur InnoDB wp_snippets: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_term_relationships: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_tm_taskmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_tm_tasks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_usermeta: Données : 0.03MB + Index : 0.03MB + Moteur InnoDB wp_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_wc_admin_notes: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB wp_wc_admin_note_actions: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB wp_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_etransactions_cards: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_etransactions_payment: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_orders: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB wp_wc_orders_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_order_addresses: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_order_operational_data: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_product_attributes_lookup: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_product_meta_lookup: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB wp_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wpmailsmtp_debug_events: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wpmailsmtp_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_yoast_indexable: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB wp_yoast_indexable_hierarchy: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_yoast_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_yoast_primary_term: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_yoast_seo_links: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB

Post Type Counts

attachment: 94 custom_css: 1 customize_changeset: 13 mailpoet_page: 1 nav_menu_item: 4 oembed_cache: 1 page: 16 post: 2 product: 11 product_variation: 33 revision: 105 shop_order_placehold: 5 was: 37 wp_navigation: 1

Security

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

Active Plugins (15)

Classic Editor: par Contributeurs et contributrices WordPress – 1.6.3 Classic Widgets: par Contributeurs et contributrices WordPress – 0.3 Code Snippets: par Code Snippets Pro – 3.6.2 Site Kit by Google: par Google – 1.114.0 Min and Max Quantity for WooCommerce: par BeRocket – 1.3.4 Really Simple SSL: par Really Simple Plugins – 7.2.0 Easy Updates Manager: par Équipe Easy Updates Manager – 9.0.17 UpdraftPlus - Sauvegarde/Restauration: par UpdraftPlus.Com DavidAnderson – 1.23.13

WooCommerce Advanced Shipping - Advanced Pricing: par Jeroen Sormani – 2.3.0.1 WooCommerce Advanced Shipping: par Jeroen Sormani – 1.1.2 WooCommerce Stripe Gateway: par WooCommerce – 7.7.0 WooCommerce: par Automattic – 8.3.1 Yoast SEO: par L’équipe Yoast – 21.6 WP Mail SMTP: par WP Mail SMTP – 3.10.0 WP-Optimize - Nettoyer, compresser, mettre en cache.: par David Anderson Ruhani Rabin équipe Updraft – 3.2.22

Inactive Plugins (1)

Maintenance: par WebFactory Ltd – 4.08

Dropin Plugins (1)

advanced-cache.php: advanced-cache.php

Settings

API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5)

Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ✔ HPOS feature screen enabled: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: –

WC Pages

Base de la boutique: #34 - /boutique/ Panier: #35 - /panier/ Commander: #36 - /commander/ Mon compte: #37 - /mon-compte/ Conditions générales de vente et d’utilisation: #342 - /conditions-generales-de-vente/

Theme

Name: Divi Version: 4.23.1 Author URL: http://www.elegantthemes.com Child Theme: ❌ – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant

WooCommerce Support: ✔

Templates

Overrides: –

Admin

Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management 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: customize-store minified-js new-product-management-experience product-virtual-downloadable product-external-affiliate settings async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2023-12-04 18:52:42 +01:00 Options: ✔ Notes: 66 Onboarding: skipped

Action Scheduler

Terminé: 2 049 Oldest: 2023-11-07 19:52:52 +0100 Newest: 2023-12-04 16:56:03 +0100

Échoué: 7 Oldest: 2023-11-07 19:55:26 +0100 Newest: 2023-11-15 22:53:32 +0100

En attente: 3 Oldest: 2023-12-04 21:33:11 +0100 Newest: 2023-12-11 14:40:46 +0100

Status report information

Generated at: 2023-12-04 17:13:04 +01:00 `

Isolating the problem

github-actions[bot] commented 10 months ago

Hi @MagaliBernault,

While our goal is to address all the issues reported in this repository, GitHub should be treated as a place to report confirmed bugs only.

The type of issue you submitted looks like a support request which may or may not reveal a bug once proper troubleshooting is done. In order to confirm the bug, please follow one of the steps below: