• Resolved digitaln3

    (@digitaln3)


    Good morning,

    when a user places an order, WooCommerce does not send the notification email and in the order notes I find this notice “Error during status transition. Invalid order.“, then the payment is made and the order status changes to” In process”, but always without sending the notification email.

    I duplicated the site on another server for testing and in that case the emails are sent correctly and that message does not appear.

    what could be the problem?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @digitaln3

    If you can please share your System Status Report, that will help us troubleshoot. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it into your reply here.

    Thanks!

    Thread Starter digitaln3

    (@digitaln3)

    Hi @m155y5,

    thanks for the reply, here the status:

    —–

    ### WordPress Environment ###

    WordPress address (URL): https://www.
    Site address (URL): https://www.
    WC Version: 4.6.1
    REST API Version: ? 4.6.1
    WC Blocks Version: ? 3.4.0
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.6.3
    Log Directory Writable: ?
    WP Version: 5.5.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: it_IT
    External object cache: –

    ### Server Environment ###

    Server Info: Apache/2.4.29 (Ubuntu)
    PHP Version: 7.2.24-0ubuntu0.18.04.7
    PHP Post Max Size: 32 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1

    SUHOSIN Installed: –
    MySQL Version: 5.7.25-google
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Il tuo server non ha la classe SoapClient attiva – alcuni plugin gateway che usano SOAP potrebbero non funzionare correttamente.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ? Il tuo server non supporta le funzioni mbstring – queste sono necessarie per una migliore codifica dei caratteri. Al loro posto ne saranno utilizzate altre.
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 4.6.1
    WC Database Prefix: wp_bd_
    Dimensione totale database: 25.65MB
    Dimensione dati database: 22.44MB
    Dimensione indice database: 3.21MB
    wp_bd_woocommerce_sessions: Dati: 0.09MB + indice: 0.02MB + motore InnoDB
    wp_bd_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_bd_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_woocommerce_order_itemmeta: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
    wp_bd_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_bd_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_abandoned_cart_aelia_currency: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_actionscheduler_actions: Dati: 0.13MB + indice: 0.14MB + motore InnoDB
    wp_bd_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_actionscheduler_logs: Dati: 0.28MB + indice: 0.23MB + motore InnoDB
    wp_bd_ac_abandoned_cart_history: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_email_templates: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_guest_abandoned_cart_history: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_link_clicked_email: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_notifications: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_notifications_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_opened_emails: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_sent_history: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_ac_tiny_urls: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_comments: Dati: 0.02MB + indice: 0.09MB + motore InnoDB
    wp_bd_db7_forms: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_email_log: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_bd_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_mailchimp_carts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_mailchimp_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_options: Dati: 4.06MB + indice: 0.25MB + motore InnoDB
    wp_bd_pmxi_files: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_pmxi_hash: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_pmxi_history: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_pmxi_images: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_pmxi_imports: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_bd_pmxi_posts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_pmxi_templates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_postmeta: Dati: 2.33MB + indice: 0.53MB + motore InnoDB
    wp_bd_posts: Dati: 1.42MB + indice: 0.16MB + motore InnoDB
    wp_bd_produttori: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_produttori_corriere: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_css: Dati: 0.13MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_css_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_layer_animations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_navigations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_sliders: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_sliders_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_slides: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_static_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_revslider_static_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_termmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_terms: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_term_relationships: Dati: 0.05MB + indice: 0.02MB + motore InnoDB
    wp_bd_term_taxonomy: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_tm_taskmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_tm_tasks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_usermeta: Dati: 0.08MB + indice: 0.03MB + motore InnoDB
    wp_bd_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_bd_wcpdf_invoice_number: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wc_admin_notes: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_bd_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_bd_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_wc_product_meta_lookup: Dati: 0.02MB + indice: 0.09MB + motore InnoDB
    wp_bd_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_wfblockediplog: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wfblocks7: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_bd_wfconfig: Dati: 2.28MB + indice: 0.00MB + motore InnoDB
    wp_bd_wfcrawlers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wffilechanges: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wffilemods: Dati: 5.52MB + indice: 0.00MB + motore InnoDB
    wp_bd_wfhits: Dati: 1.02MB + indice: 0.05MB + motore InnoDB
    wp_bd_wfhoover: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_wfissues: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_bd_wfknownfilelist: Dati: 2.52MB + indice: 0.00MB + motore InnoDB
    wp_bd_wflivetraffichuman: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_wflocs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wflogins: Dati: 0.08MB + indice: 0.03MB + motore InnoDB
    wp_bd_wfls_2fa_secrets: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_wfls_settings: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wfnotifications: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wfpendingissues: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_bd_wfreversecache: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wfsnipcache: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_bd_wfstatus: Dati: 0.13MB + indice: 0.11MB + motore InnoDB
    wp_bd_wftrafficrates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_wpmailsmtp_tasks_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_bd_yoast_indexable: Dati: 0.17MB + indice: 0.11MB + motore InnoDB
    wp_bd_yoast_indexable_hierarchy: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_bd_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_bd_yoast_primary_term: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_bd_yoast_seo_links: Dati: 0.09MB + indice: 0.03MB + motore InnoDB
    wp_bd_yoast_seo_meta: Dati: 0.05MB + indice: 0.00MB + motore InnoDB

    ### Post Type Counts ###

    attachment: 357
    blocks: 2
    customize_changeset: 1
    flamingo_inbound: 64
    nav_menu_item: 19
    oembed_cache: 13
    page: 18
    post: 2
    product: 31
    product_variation: 103
    revision: 7
    shop_order: 3
    wpcf7_contact_form: 3
    wppb-epf-cpt: 1
    wppb-rf-cpt: 1
    wppb-ul-cpt: 1

    ### Security ###

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

    ### Active Plugins (30) ###

    Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 6.1.5 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    Bassadoro – Produttori: by N-3.it – 1.0
    Contact Form 7 Extension For Mailchimp: by Renzo Johnson – 0.5.28
    Contact Form 7: by Takayuki Miyoshi – 5.3
    Contact Form CFDB7: by Arshid – 1.2.5.3
    Disable Admin Notices Individually: by Webcraftic – 1.2.3
    Disable Comments: by WPDeveloper – 1.11.0
    Duplica pagina: by mndpsingh287 – 4.3
    Email Log: by Sudar – 2.4.3
    Facebook for WooCommerce: by Facebook – 2.1.3
    Nav Menu Roles: by Kathy Darling – 2.0.0
    Profile Builder – MailChimp Add-On: by Cozmoslabs
    Mihai Iova – 1.1.6

    Profile Builder – WooCommerce Sync Add-on: by Cozmoslabs
    Adrian Spiac – 1.5.4 – Versione installata non testata con versione attiva di WooCommerce 4.6.1

    Profile Builder Pro: by Cozmoslabs – 2.9.3
    WooCommerce – Prezzo “A partire da”: by N3 Srl – 1.0 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    SVG Support: by Benbodhi – 2.3.18
    GDPR Cookie Consent Banner: by termly – 2.3.15
    User Admin Simplifier: by Adam Silverstein – 1.0.0
    User Role Editor: by Vladimir Garagulya – 4.56.1
    Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.4 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce P.IVA e Codice Fiscale per Italia: by dot4all – 2.1.9 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    Abandoned Cart Pro for WooCommerce: by Tyche Softwares – 7.12.0 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce Admin: by WooCommerce – 1.6.3 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.0 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.7.0
    WooCommerce: by Automattic – 4.6.1
    Yoast SEO: by Team Yoast – 15.2.1
    WP Mail SMTP: by WPForms – 2.5.1
    WP-Optimize – Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.1.4

    XML for Google Merchant Center: by Maxim Glazunov – 2.2.9

    ### Inactive Plugins (2) ###

    Flow-Flow: by Looks Awesome – 4.0.3
    WooCommerce Amazon Pay: by WooCommerce – 1.12.2 – Versione installata non testata con versione attiva di WooCommerce 4.6.1

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    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 ###

    Shop base: #11 – /negozio/
    Carrello: #12 – /carrello/
    Pagamento: #13 – /checkout/
    Il mio account: #14 – /mio-account/
    Termini e condizioni: #9286 – /condizioni-generali-di-vendita/

    ### Theme ###

    Name: Flatsome Child
    Version: 3.0
    Author URL:
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.12.3
    Parent Theme Author URL: https://www.uxthemes.com/
    WooCommerce Support: ?

    ### Templates ###

    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/terms.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php

    ### Action Scheduler ###

    Completato: 360
    Oldest: 2020-10-05 14:59:36 +0200
    Newest: 2020-11-03 18:33:06 +0100

    —–

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Thanks for including that system status log! I don’t see any obvious red flags.

    It sounds like something is going wrong in between the payment plugin receiving the confirmation. That breaks the process and while the order status does get updated, the notification email doesn’t go out.

    Which payment processor are you using? If you test with another payment processor, does the email work correctly?

    Thread Starter digitaln3

    (@digitaln3)

    Hi @fernashes ,
    yes, notification emails with other payment methods work correctly, for this reason it seems strange to me. If I’m not wrong, the notification emails work directly in WooCommerce on the change of order status.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    If notification emails work correctly with a different payment gateway, then it sounds like a problem with that specific payment gateway plugin. Which plugin is it?

    Thread Starter digitaln3

    (@digitaln3)

    @fernashes the plugin is “WooCommerce PayPal Checkout Gateway” [ https://it.www.ads-software.com/plugins/woocommerce-gateway-paypal-express-checkout/ ].

    With Sandbox the notification emails work, not in Production.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for explaining! So it sounds like there’s an issue with WooCommerce PayPal Checkout, where you’re seeing “Error during status transition. Invalid order. It’s only happening with this payment plugin; other payment plugins are working correctly.

    I did some searching on our end and this is an issue that can come up with any payment gateway – in general, it seems to be related to conflicts on that specific site. Either way, I wasn’t able to replicate this on my end.cof

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter digitaln3

    (@digitaln3)

    @fernashes this was my last fix before figuring out if it was a known issue, but I’ll try. Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error during status transition. Invalid order.’ is closed to new replies.