• Resolved pawlinski

    (@pawlinski)


    I sell physical products (not virtual). For some time now, the status of orders automatically changes to completed or canceled. Without my interference. How to check “what causes the automatic change of the order status”? Or how to do to disable “automatic order status change”? Payments for orders are processed correctly.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @pawlinski!

    To help get to the bottom of this we’re going to need a few more details.

    – Are these orders being changed from completed to cancel or vice-versa?
    – Are you managing your stock? and there are items in stock?
    – The Hold Stock timeout (WooCommerce > Settings > Product > Inventory > Hold Stock) is applied to orders in the Pending status. When this limit is reached, the pending orders will be canceled.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Once you’ve done that, paste it here in your response.

    I hope to hear from you soon! My very best!

    Thread Starter pawlinski

    (@pawlinski)

    Thanks for trying to help.

    The order status changes automatically from “in progress” to “completed” and then to “canceled”. Sometimes it changes from “in progress” to “completed”, then to “canceled”, then to “in progress”. Terribly weird.

    Yes, I manage stock.

    The Hold Stock timeout is empty. Previously, the value was set to “60”.

    System report:

    ### WordPress Environment ###

    WordPress address (URL): https://slodycze-24.pl
    Site address (URL): https://slodycze-24.pl
    WC Version: 6.1.0
    REST API Version: ? 6.1.0
    WC Blocks Version: ? 6.5.1
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.0.3
    Log Directory Writable: ?
    WP Version: 5.8.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: pl_PL
    External object cache: –

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 7.4.27
    PHP Post Max Size: 128 MB
    PHP Time Limit: 180
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.22-MariaDB-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 6.1.0
    WC Database Prefix: wp_
    Ca?kowity rozmiar bazy danych: 493.07MB
    Rozmiar bazy danych: 438.98MB
    Rozmiar indeksu bazy danych: 54.09MB
    wp_woocommerce_sessions: Dane: 24.02MB + Indeks: 0.05MB + Silnik InnoDB
    wp_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
    wp_woocommerce_order_items: Dane: 4.52MB + Indeks: 1.52MB + Silnik InnoDB
    wp_woocommerce_order_itemmeta: Dane: 25.55MB + Indeks: 19.06MB + Silnik InnoDB
    wp_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
    wp_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_actionscheduler_actions: Dane: 1.02MB + Indeks: 0.78MB + Silnik InnoDB
    wp_actionscheduler_claims: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_actionscheduler_groups: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_actionscheduler_logs: Dane: 2.06MB + Indeks: 1.69MB + Silnik InnoDB
    wp_adtribes_my_conversions: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_aepc_custom_audiences: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_aepc_logs: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_ce4wp_abandoned_checkout: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_ce4wp_contacts: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_commentmeta: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB
    wp_comments: Dane: 4.52MB + Indeks: 1.84MB + Silnik InnoDB
    wp_e_submissions: Dane: 0.14MB + Indeks: 0.33MB + Silnik InnoDB
    wp_e_submissions_actions_log: Dane: 0.05MB + Indeks: 0.11MB + Silnik InnoDB
    wp_e_submissions_values: Dane: 0.41MB + Indeks: 0.09MB + Silnik InnoDB
    wp_links: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_ms_snippets: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_newsletter: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_newsletter_emails: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_newsletter_sent: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_newsletter_stats: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_newsletter_user_logs: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_options: Dane: 5.20MB + Indeks: 1.14MB + Silnik InnoDB
    wp_pmxe_exports: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_pmxe_google_cats: Dane: 0.38MB + Indeks: 0.00MB + Silnik InnoDB
    wp_pmxe_posts: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_pmxe_templates: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_postmeta: Dane: 37.56MB + Indeks: 19.06MB + Silnik InnoDB
    wp_posts: Dane: 7.52MB + Indeks: 1.13MB + Silnik InnoDB
    wp_snippets: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_social_users: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_termmeta: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB
    wp_terms: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_term_relationships: Dane: 0.09MB + Indeks: 0.06MB + Silnik InnoDB
    wp_term_taxonomy: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_usermeta: Dane: 3.52MB + Indeks: 3.03MB + Silnik InnoDB
    wp_users: Dane: 0.16MB + Indeks: 0.16MB + Silnik InnoDB
    wp_wc_admin_notes: Dane: 0.05MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wc_admin_note_actions: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wc_category_lookup: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wc_customer_lookup: Dane: 0.34MB + Indeks: 0.22MB + Silnik InnoDB
    wp_wc_download_log: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_wc_order_coupon_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_wc_order_product_lookup: Dane: 3.52MB + Indeks: 1.77MB + Silnik InnoDB
    wp_wc_order_stats: Dane: 0.45MB + Indeks: 0.33MB + Silnik InnoDB
    wp_wc_order_tax_lookup: Dane: 0.36MB + Indeks: 0.28MB + Silnik InnoDB
    wp_wc_product_meta_lookup: Dane: 0.08MB + Indeks: 0.13MB + Silnik InnoDB
    wp_wc_rate_limits: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wc_reserved_stock: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wc_tax_rate_classes: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wc_webhooks: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wfblockediplog: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wfblocks7: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    wp_wfconfig: Dane: 0.44MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wfcrawlers: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wffilechanges: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wffilemods: Dane: 2.52MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wfhits: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    wp_wfhoover: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wfissues: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
    wp_wfknownfilelist: Dane: 1.52MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wflivetraffichuman: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wflocs: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wflogins: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    wp_wfls_2fa_secrets: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_wfls_settings: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wfnotifications: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wfpendingissues: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
    wp_wfreversecache: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wfsnipcache: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    wp_wfstatus: Dane: 0.06MB + Indeks: 0.03MB + Silnik InnoDB
    wp_wftrafficrates: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_woocommerce_p24_data: Dane: 0.00MB + Indeks: 0.00MB + Silnik MyISAM
    wp_wpfront_ure_login_redirect: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wpfront_ure_options: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wpml_mails: Dane: 311.52MB + Indeks: 0.00MB + Silnik InnoDB
    wp_wpmm_subscribers: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    wp_xsg_sitemap_meta: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_yith_wcwl: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_yith_wcwl_lists: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
    wp_yoast_seo_links: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    wp_yoast_seo_meta: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB

    ### Post Type Counts ###

    attachment: 1738
    blocks: 8
    elementor_library: 23
    envato_tk_import: 1
    featured_item: 8
    feedback: 94
    jetpack_migration: 2
    jp_img_sitemap: 2
    jp_sitemap: 2
    jp_sitemap_master: 2
    nav_menu_item: 25
    page: 18
    post: 3
    product: 497
    revision: 525
    shop_order: 7186

    ### Security ###

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

    ### Active Plugins (30) ###

    FiboSearch – AJAX Search for WooCommerce: przez FiboSearch Team – 1.15.0
    Akismet antyspam: przez Automattic – 4.2.1
    All-in-One WP Migration: przez ServMask – 7.52
    Blocksy Companion: przez CreativeThemes – 1.8.16
    Code Snippets: przez Code Snippets Pro – 2.14.3
    Creative Mail by Constant Contact: przez Constant Contact – 1.4.9
    Google Tag Manager for WordPress: przez Thomas Geiger – 1.14.2
    EAN for WooCommerce: przez Algoritmika Ltd – 2.9.0
    Easy WP SMTP: przez wpecommerce
    alexanderfoxc – 1.4.7

    Elementor Pro: przez Elementor.com – 3.5.2
    Elementor: przez Elementor.com – 3.5.3
    Envato Elements: przez Envato – 2.0.11
    Health Check & Troubleshooting: przez Spo?eczno?? www.ads-software.com – 1.4.5
    Insert Headers and Footers: przez WPBeginner – 1.6.0
    Jetpack: przez Automattic – 10.5
    Loco Translate: przez Tim Whitlock – 2.5.6
    Zap?a? z paynow.pl: przez mElements S.A. – 2.4.5
    Really Simple SSL: przez Wtyczki Really Simple – 5.2.2
    Resize Image After Upload: przez ShortPixel – 1.8.6
    InPost dla WooCommerce: przez Inspire Labs – 1.3.7
    Product Feed PRO for WooCommerce: przez AdTribes.io – 11.1.4
    Woo Store Vacation: przez MyPreview – 1.4.3
    Extra Charges To Payment Gateway For WooCommerce (Standard): przez hemsingh1 – 2.0.2.1
    WooCommerce Pixel Manager: przez woopt – 1.12.4
    WooCommerce Google Analytics Integration: przez WooCommerce – 1.5.7
    WooCommerce Google Ads Dynamic Remarketing: przez woopt – 1.8.1
    WooCommerce: przez Automattic – 6.1.0
    WooSidebars: przez WooCommerce – 1.4.5
    WP Mail Logging: przez Wysija – 1.10.2
    WP Tryb Konserwacji: przez Designmodo – 2.4.1

    ### Inactive Plugins (8) ###

    Filenames to latin: przez webvitaly – 2.7
    Flexible Checkout Fields: przez WP Desk – 3.1.2
    Media File Renamer: przez Jordy Meow – 5.3.5
    Pay by Paynow: przez mElements S.A. – 1.0.7
    Self Pickup with WooCommerce – InPost Paczkomaty, Polish Post, ?abka and Ruch: przez lepo.co – 1.3.4
    WP Post Page Clone: przez Gaurang Sondagar – 1.2
    YITH WooCommerce Wishlist: przez YITH – 3.5.0
    Yoast SEO: przez Team Yoast – 17.9

    ### Must Use Plugins (2) ###

    Health Check Troubleshooting Mode: przez – 1.7.2
    installatron_hide_status_test.php: przez –

    ### Settings ###

    API Enabled: ?
    Force SSL: ?
    Currency: PLN (z?)
    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: –

    ### WC Pages ###

    Strona sklepu: #60 – /sklep/
    Koszyk: #59 – /koszyk/
    Zamówienie: #58 – /kasa/
    Moje konto: #57 – /moje-konto/
    Regulamin: #295 – /o-nas/regulamin/

    ### Theme ###

    Name: Blocksy
    Version: 1.8.14
    Author URL: https://creativethemes.com
    Child Theme: ? – Je?li modyfikujesz WooCommerce lub motyw nadrz?dny
    którego nie jeste? autorem
    polecamy u?ywanie motywu potomnego. Zobacz: Jak tworzy? motywy potomne

    WooCommerce Support: ?

    ### Templates ###

    Overrides: blocksy/woocommerce/cart/cart.php
    blocksy/woocommerce/cart/mini-cart.php
    blocksy/woocommerce/checkout/form-checkout.php
    blocksy/woocommerce/content-widget-product.php
    blocksy/woocommerce/content-widget-reviews.php
    blocksy/woocommerce/myaccount/my-account.php
    blocksy/woocommerce/product-searchform.php
    blocksy/woocommerce/single-product/tabs/tabs.php

    ### Action Scheduler ###

    Zakończ: 2 286
    Oldest: 2021-12-15 15:31:19 +0000
    Newest: 2022-01-15 13:48:14 +0000

    Oczekuj?ce: 1
    Oldest: 2022-01-16 00:43:34 +0000
    Newest: 2022-01-16 00:43:34 +0000

    ### Status report information ###

    Generated at: 2022-01-15 14:47:44 +00:00
    `

    Hi @pawlinski! Thanks for sharing your report with me!

    Usually, this is caused by some conflict, a plugin, or either a theme.

    What you can do is isolate your entire environment, to see when this problem happens.

    – Change your theme to a default theme like Storefront;
    – Disable all plugins except WooCommerce;
    – Also add a value in your Hold stock option, it can be the default of 60;

    Under those conditions, place a test order. If the problem doesn’t happen, then it is caused by a conflict.

    The next step would be to re-enable plugins one by one and make a test order each time until you find the piece of software responsible for this behavior.

    You can find more detailed information about how to test for conflicts here:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    All the best!

    Thread Starter pawlinski

    (@pawlinski)

    Is it possible to disable the automatic change of order statuses?

    Hello there,

    * Disabling the status change automatically is not default behavior, but you can for example set up statuses according to your needs as explained here.

    * Did the conflict test solve the issue? Please let us know. There could be something interfering with the normal workflow.

    You can also provide the following so that we can check:
    * Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).

    Keep us informed.

    Thread Starter pawlinski

    (@pawlinski)

    Unfortunately all plugins disabled except Woocommerce, default theme enabled and no result.
    However, I have a lot of such errors in the logs:

    2021-12-18T00: 04: 14 + 00: 00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) at /home/pawlins3/domains/slodycze-24.pl/public_html/wp-includes/wp- db.php on line 2022

    @pawlinski

    The error means the allocated memory was exhausted and you need to increase it using this guide: https://wpmet.com/how-to-increase-wordpress-memory-limit/

    Thread Starter pawlinski

    (@pawlinski)

    Is it because of this error that my orders change their status by themselves?

    Hey @pawlinski,

    Is it because of this error that my orders change their status by themselves?

    This could definitely be a contributing factor to the issues you’re having so it would be a good idea to resolve that problem.

    You mentioned that with all plugins except WooCommerce disabled and a default theme installed that you got no result. Does that mean you placed test orders while the site was under those conditions are you were still seeing the order statuses change unexpectedly?

    Thread Starter pawlinski

    (@pawlinski)

    Yes. I turned off all plugins, turned on the default theme, placed an order and the problem persisted. My order itself changed its status to completed, and then to canceled.
    However, I found a problem.
    The problem was the configured API connection with an external order processing system (BaseLinker). The API key was configured to “write” and “read”. I have replaced it with “reading only”.
    Thank you for your care and willingness to help.

    That sounds to me like it may explain the behavior. Please do let us know if you observe the behavior going forward.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘The status of my orders automatically changes to canceled.’ is closed to new replies.