weblex
Forum Replies Created
-
Hello.
Since the problem hasn’t recurred in three weeks, I think we can close this task for now. If the same crap happens again, I’ll open a new one.
Hi @mahfuzurwp!
The customer promised to let me know, if the problem reoccurred. I will get you info/logs ASAP.
Hi @mosesmedh!
Wrong order image:

Right order image:

I also added the debug code to the wp-config.php file.
Hi @reynierc!
Several customers have this issue and it occurs intermittently, meaning it doesn’t happen all the time.
As for the statuses, these 0€ orders also have the “Completed” status.
Here is the Woocommerce system status you requested:WordPress Environment<br><br>WC Version: 9.5.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.8.2<br>Log Directory Writable: ✔<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 1 GB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: et<br>External object cache: – Server Environment<br><br>Server Info: Apache / ZoneOS<br>PHP Version: 8.2.26<br>PHP Post Max Size: 2 GB<br>PHP Time Limit: 900<br>PHP Max Input Vars: 20000<br>cURL Version: 8.4.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.20-MariaDB-log<br>Max Upload Size: 2 GB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 9.5.1<br>WC Database Prefix: qhbk_<br>Total Database Size: 82.33MB<br>Database Data Size: 69.49MB<br>Database Index Size: 12.84MB<br>qhbk_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>qhbk_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>qhbk_woocommerce_order_itemmeta: Data: 0.25MB + Index: 0.28MB + Engine InnoDB<br>qhbk_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>qhbk_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_acfw_virtual_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_actionscheduler_actions: Data: 0.20MB + Index: 0.20MB + Engine InnoDB<br>qhbk_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_actionscheduler_logs: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>qhbk_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_braapf_product_stock_status_parent: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_braapf_product_variation_attributes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_braapf_variable_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_comments: Data: 0.22MB + Index: 0.25MB + Engine InnoDB<br>qhbk_frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_frmt_form_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_frmt_form_views: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>qhbk_icl_cms_nav_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB<br>qhbk_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_strings: Data: 2.52MB + Index: 5.48MB + Engine InnoDB<br>qhbk_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_icl_string_positions: Data: 0.22MB + Index: 0.06MB + Engine InnoDB<br>qhbk_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_string_translations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_translate: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_icl_translations: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>qhbk_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_icl_translation_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_lockdowns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_login_fails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_mc_banklinks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_montonio_locks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_montonio_shipping_method_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_mphb_sync_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_mphb_sync_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_mphb_sync_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_mphb_sync_urls: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_options: Data: 10.47MB + Index: 0.23MB + Engine InnoDB<br>qhbk_payex_transactions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_postmeta: Data: 4.52MB + Index: 3.02MB + Engine InnoDB<br>qhbk_posts: Data: 36.52MB + Index: 0.58MB + Engine InnoDB<br>qhbk_pps_countries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_pps_popup: Data: 1.52MB + Index: 0.00MB + Engine InnoDB<br>qhbk_pps_popup_show_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_say_what_strings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_sgc_link: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_sgc_social: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_swedbank_orderlist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>qhbk_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB<br>qhbk_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>qhbk_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>qhbk_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_wc_admin_notes: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>qhbk_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>qhbk_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>qhbk_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>qhbk_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>qhbk_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wc_product_meta_lookup: Data: 0.09MB + Index: 0.14MB + Engine InnoDB<br>qhbk_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wfpklist_template_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_woocommerce_makecommerce_sc: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wpforms_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>qhbk_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>qhbk_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wpf_meta_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>qhbk_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wpml_mails: Data: 9.02MB + Index: 0.02MB + Engine InnoDB<br>qhbk_wtbp_tables: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>attachment: 436<br>bookable_resource: 4<br>br_product_filter: 2<br>cookielawinfo: 6<br>custom_css: 4<br>customize_changeset: 1<br>dzswtl_list_layout: 1<br>et_body_layout: 2<br>et_footer_layout: 1<br>et_header_layout: 4<br>et_pb_layout: 8<br>et_template: 9<br>et_theme_builder: 1<br>forminator_forms: 1<br>page: 10<br>polylang_mo: 2<br>popup: 1<br>popup_theme: 8<br>post: 4<br>product: 54<br>revision: 2078<br>shop_order: 1250<br>tm_global_cp: 1<br>wc_booking: 15<br>wc_product_table: 1<br>wc_voucher: 1864<br>wc_voucher_template: 4<br>woo_product_design: 1<br>wp_navigation: 1<br>wpforms: 1 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (17)<br><br>Buum kinkekaart: by CONFEMAR OÜ – 1.17.7<br>Custom Price for WooCommerce: by WP Desk – 1.1.12<br>Font Awesome: by Font Awesome – 4.5.0<br>Loco Translate: by Tim Whitlock – 2.6.14<br>Montonio for WooCommerce: by Montonio – 7.1.7<br>Polylang for WooCommerce: by WP SYNTEX – 2.1.3<br>Polylang: by WP SYNTEX – 3.6.5<br>Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.9.7<br>UpdraftPlus - Backup/Restore: by TeamUpdraft<br>DavidAnderson – 1.24.12<br><br>Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.6<br>Advanced AJAX Product Filters for WooCommerce: by BeRocket – 1.6.7.1<br>WooCommerce Stripe Gateway: by Stripe – 9.0.0<br>WooCommerce PDF Product Vouchers: by SkyVerge – 3.12.4<br>WooCommerce: by Automattic – 9.5.1<br>WP Mail Logging: by WP Mail Logging Team – 1.14.0<br>Smush: by WPMU DEV – 3.16.6<br>WPS Hide Login: by WPServeur<br>NicolasKulka<br>wpformation – 1.9.17.1 Inactive Plugins (2)<br><br>EveryPay payment gateway for WooCommerce: by EveryPay AS – 1.3.17<br>Swedbank Payment Initiation: by Swedbank – 1.0.1 Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: right<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: booking (booking)<br>external (external)<br>grouped (grouped)<br>salbos_package (salbos_package)<br>salbos_procedure (salbos_procedure)<br>salbos_product (salbos_product)<br>salbos_roomtype (salbos_roomtype)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 2 MB WC Pages<br><br>Shop base: ❌ Page not set<br>Cart: #7 - /et/ostukorv/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #5498 - /et/kassa/ - Contains the [woocommerce_checkout] shortcode<br>My account: ❌ Page not set<br>Terms and conditions: #2457 - /et/muugitingimused/ Theme<br><br>Name: Salbos - kinkekaartide süsteem<br>Version: 1.18.5<br>Author URL:<br>Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>Theme type: Classic theme<br>WooCommerce Support: ❌ Not declared Templates<br><br>Overrides: – WC Pages Translations<br><br>Shop base: ❌ Page not set<br>Cart: ✔<br>Checkout: ✔<br>My account: ❌ Page not set<br>Terms and conditions: ✔ Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout<br><br>Daily Cron: ✔ Next scheduled: 2025-01-03 08:35:48 +02:00<br>Options: ✔<br>Notes: 190<br>Onboarding: completed Action Scheduler<br><br>Complete: 566<br>Oldest: 2024-12-03 00:00:22 +0200<br>Newest: 2025-01-02 12:55:27 +0200<br><br>Failed: 1<br>Oldest: 2023-10-04 16:06:39 +0300<br>Newest: 2023-10-04 16:06:39 +0300<br><br>Pending: 2<br>Oldest: 2025-01-03 12:55:27 +0200<br>Newest: 2025-01-03 12:55:27 +0200 Status report information<br><br>Generated at: 2025-01-02 14:58:15 +02:00<br>Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @judaguter
I think I fixed the problem. I have changed the webhook script and it seems the problem was in the line: $order = wc_get_order( $order_id ); After removing it, there are no more problems.
Thanks for the help and tips. You can now close the topic.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @carolm29
Thank you for the answer.
I understood what the problem was. If the customer successfully pays in the bank, a webhook is sent information about order status. When the customer returns to the “Thank you”-page, order status will be changed again. That’s why there’s a double status change and double mail send.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @carolm29
The problem is only with orders with “Processing” status. Orders with “Partially Paid” status are not duplicated and is perfectly fine.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @anastas10s
I mean something like this: https://snipboard.io/1WckXZ.jpg.
Or this: https://snipboard.io/f3Lunl.jpgI think the issue with double sending mails is related with this case. Why does WooCommerce confirm order twice?
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @omarfpg.
I am sure that the problem is not with this plugin, because in my test I use the same plugin and there are no problems, it means that all the mails come one at a time.
Yes, the common thing for everyone is that under order notifications, all notifications are double. Such a feeling that the client ordered twice, but actually paid only once.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @shameemreza.
Thank you for reply!
There is link with WC fatal error log: https://paste.mozilla.org/BV74nm5e
And there is link with WP mail Logging plugin log: https://paste.mozilla.org/oD1KX5jGAs you can see, sometimes letters are sent one by one and sometimes two letters are sent with the same order number.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @ckadenge
Thank you for quick reply!
There is link with information: https://gist.github.com/MarekWebleX/cf2b2ce824361f72241d0b7083e78db7
- This reply was modified 2 years, 3 months ago by weblex.