• Resolved gguidi

    (@gguidi)


    Hi,
    I’m facing an issue with COD orders. When a customer submit an order with COD as payment the order goes to “processing” for a second and then switch to “pending payment” and after a while goes to “failed” due to timeout.

    This are my WC configurations:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.coltelleriapermancutsrl.it
    Site address (URL): https://www.coltelleriapermancutsrl.it
    WC Version: 7.1.0
    REST API Version: ? 7.1.0
    WC Blocks Version: ? 8.7.5
    Action Scheduler Version: ? 3.5.2
    Log Directory Writable: ?
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: it_IT
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.30
    PHP Post Max Size: 128 MB
    PHP Time Limit: 900
    PHP Max Input Vars: 1000
    cURL Version: 7.76.1
    OpenSSL/1.0.2k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.36-39-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.1.0
    WC Database Prefix: wp78254_
    Dimensione totale database: 23.85MB
    Dimensione dati database: 16.97MB
    Dimensione indice database: 6.88MB
    wp78254_woocommerce_sessions: Dati: 0.09MB + indice: 0.02MB + motore InnoDB
    wp78254_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp78254_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_woocommerce_order_itemmeta: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
    wp78254_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp78254_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_actionscheduler_actions: Dati: 0.44MB + indice: 0.50MB + motore InnoDB
    wp78254_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_actionscheduler_logs: Dati: 0.23MB + indice: 0.19MB + motore InnoDB
    wp78254_cli_cookie_scan: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_cli_cookie_scan_categories: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_cli_cookie_scan_cookies: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_cli_cookie_scan_url: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_cli_scripts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_comments: Dati: 0.05MB + indice: 0.09MB + motore InnoDB
    wp78254_e_events: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_e_notes: Dati: 0.02MB + indice: 0.17MB + motore InnoDB
    wp78254_e_notes_users_relations: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp78254_e_submissions: Dati: 0.02MB + indice: 0.27MB + motore InnoDB
    wp78254_e_submissions_actions_log: Dati: 0.02MB + indice: 0.11MB + motore InnoDB
    wp78254_e_submissions_values: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_mailchimp_carts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_mailchimp_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_options: Dati: 4.48MB + indice: 0.34MB + motore InnoDB
    wp78254_postmeta: Dati: 2.50MB + indice: 1.89MB + motore InnoDB
    wp78254_posts: Dati: 1.48MB + indice: 0.23MB + motore InnoDB
    wp78254_snippets: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_termmeta: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
    wp78254_terms: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
    wp78254_term_relationships: Dati: 0.09MB + indice: 0.06MB + motore InnoDB
    wp78254_term_taxonomy: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
    wp78254_trp_gettext_it_it: Dati: 1.52MB + indice: 0.69MB + motore InnoDB
    wp78254_trp_gettext_original_meta: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp78254_trp_gettext_original_strings: Dati: 1.52MB + indice: 0.39MB + motore InnoDB
    wp78254_trp_original_meta: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp78254_trp_original_strings: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_usermeta: Dati: 0.20MB + indice: 0.17MB + motore InnoDB
    wp78254_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp78254_wc_admin_notes: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
    wp78254_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp78254_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp78254_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_wc_product_attributes_lookup: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_wc_product_download_directories: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_wc_product_meta_lookup: Dati: 0.08MB + indice: 0.09MB + motore InnoDB
    wp78254_wc_rate_limits: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp78254_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_wml_entries: Dati: 2.52MB + indice: 0.00MB + motore InnoDB
    wp78254_yoast_indexable: Dati: 0.42MB + indice: 0.31MB + motore InnoDB
    wp78254_yoast_indexable_hierarchy: Dati: 0.05MB + indice: 0.05MB + motore InnoDB
    wp78254_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp78254_yoast_primary_term: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp78254_yoast_seo_links: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    
    ### Post Type Counts ###
    
    attachment: 261
    cookielawinfo: 6
    customize_changeset: 18
    elementor_library: 5
    language_switcher: 2
    nav_menu_item: 16
    order_status: 1
    page: 10
    post: 4
    product: 203
    product_variation: 228
    revision: 368
    shop_coupon: 1
    shop_order: 7
    shop_order_refund: 1
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (22) ###
    
    Aruba HiSpeed Cache: by Aruba.it – 1.2.2
    Astra Pro: by Brainstorm Force – 3.9.3
    Code Snippets: by Code Snippets Pro – 3.2.2
    CookieYes | GDPR Cookie Consent: by CookieYes – 3.0.6
    Elementor Pro: by Elementor.com – 3.8.2
    Elementor: by Elementor.com – 3.8.1
    Site Kit by Google: by Google – 1.88.0
    Jetpack: by Automattic – 11.5.1
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.7
    Mailchimp for WooCommerce: by Mailchimp – 2.7.6
    Perfect Brands for WooCommerce: by QuadLayers – 2.2.6
    TranslatePress - Multilingue: by Cozmoslabs
    Razvan Mocanu
    Madalin Ungureanu
    Cristophor Hurduban – 2.4.2
    
    Shipping Method Description for WooCommerce: by Thomas Charbit – 1.2.6
    Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.0
    WooCommerce Advanced Bulk Edit: by George Iron & Yas G. – 5.1
    Product SKU Generator for WooCommerce: by SkyVerge – 2.4.8
    WooCommerce Product Table: by Barn2 Plugins – 3.0.3
    User Switching for WooCommerce: by Krokedil – 2.0.2
    WooCommerce Wholesale Pro: by Barn2 Plugins – 1.7.6
    WooCommerce: by Automattic – 7.1.0
    Yoast SEO: by Team Yoast – 19.11
    WP Mail Log: by WPVibes – 1.0.2
    
    ### Inactive Plugins (1) ###
    
    LoginPress - Customizing the WordPress Login Screen.: by WPBrigade – 1.6.3
    
    ### Must Use Plugins (1) ###
    
    Aruba WordPress checker: by https://www.aruba.it – 15
    
    ### 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: ?
    Enforce Approved Product Download Directories: ?
    
    ### WC Pages ###
    
    Shop base: #123 - /catalogo/
    Carrello: #6 - /cart/
    Pagamento: #7 - /checkout/
    Il mio account: #8 - /my-account/
    Termini e condizioni: #1009 - /termini-e-condizioni/
    
    ### Theme ###
    
    Name: Astra
    Version: 3.9.4
    Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    Child Theme: ? – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente
    ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    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-12-02 09:33:14 +01:00
    Options: ?
    Notes: 65
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 1.363
    Oldest: 2022-11-22 16:33:40 +0100
    Newest: 2022-12-01 21:59:02 +0100
    
    Failed: 1
    Oldest: 2022-11-22 16:38:15 +0100
    Newest: 2022-11-22 16:38:15 +0100
    
    Pending: 1
    Oldest: 2022-12-02 11:13:43 +0100
    Newest: 2022-12-02 11:13:43 +0100
    
    ### Status report information ###
    
    Generated at: 2022-12-01 22:27:15 +01:00
    

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi there @??

    I’m facing an issue with COD orders. When a customer submit an order with COD as payment the order goes to “processing” for a second and then switch to “pending payment” and after a while goes to “failed” due to timeout.

    Thanks for reaching out, let’s figure out why things are not lining up!

    I’m afraid I was not able to replicate this, on a test installation of mine, while testing with a test order having COD as the payment method. Its order status changed from “Pending payment” to “Processing”, as expected.

    That points to a theme/plugin conflict at your store.

    Can you please perform a conflict test on your site and let us know of your findings?

    Here are some steps you can follow:

    The best way to determine if the issue is being caused by a theme and/or plugin is to:

    1. Temporarily switch your theme to Storefront or Twenty Twenty theme.
    2. Try to reproduce the problem: Check whether you still encounter the issue!

    If the problem is resolved, it’s a theme conflict. If not, continue to the next steps.

    3. Temporarily deactivate all plugins except WooCommerce. You can do this manually or use a plugin to help (see below for tools).
    4. Try to reproduce the problem again. If the problem is resolved, it’s a plugin conflict. To figure out which plugin is causing the problem, continue to the next step.
    5. Reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    For more detailed instructions, check out How to test for plugin and theme conflicts.

    Tools to help with troubleshooting

    Meks Quick Plugin Disabler will remember what plugins you had active when you switch it back on.

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    Please let us know how that goes.

Viewing 1 replies (of 1 total)
  • The topic ‘COD orders switch from “processing” to “awaiting payment” immediately’ is closed to new replies.