• Resolved gratiela

    (@gratiela)


    Hi,

    I have an issue with some orders being stuck in Pending Payment status, even though the payment went through. This happens randomly, and I didn’t find any errors related to payments in the debug.log. A couple of times, for this stuck orders, the status changed to Processing as it should, but it happened hours from the actual payment. For the rest we have to change the status manually. Could you please advice on how to fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I understand the order status is stuck on pending payment.

    To assist you further, can you please share a copy of your site’s System Status? It is under WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Looking forward to hearing from you.

    Thread Starter gratiela

    (@gratiela)

    Hi,

    Thank you for your reply.

    Below is the System Status Report

    WordPress Environment
    
    WordPress address (URL): 
    Site address (URL): 
    WC Version: 6.4.1
    REST API Version: ?</img> 6.4.1
    WC Blocks Version: ?</img> 7.2.2
    Action Scheduler Version: ?</img> 3.4.0
    WC Admin Version: ?</img> 3.3.2
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: ?</img>
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 7.3.33
    PHP Post Max Size: 200 MB
    PHP Time Limit: 1000
    PHP Max Input Vars: 1000
    cURL Version: 7.86.0
    OpenSSL/1.1.1s
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.34-log
    Max Upload Size: 200 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 6.4.0
    WC Database Prefix: ax_
    Total Database Size: 473.66MB
    Database Data Size: 416.11MB
    Database Index Size: 57.55MB
    ax_woocommerce_sessions: Data: 56.47MB + Index: 1.65MB + Engine MyISAM
    ax_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ax_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_order_items: Data: 4.61MB + Index: 1.92MB + Engine MyISAM
    ax_woocommerce_order_itemmeta: Data: 29.33MB + Index: 20.39MB + Engine MyISAM
    ax_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ax_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_actionscheduler_actions: Data: 5.26MB + Index: 2.08MB + Engine MyISAM
    ax_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ax_actionscheduler_logs: Data: 3.27MB + Index: 2.46MB + Engine MyISAM
    ax_category_types: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_cli_cookie_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ax_cli_cookie_scan_url: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    ax_cli_scripts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_comments: Data: 1.69MB + Index: 0.49MB + Engine MyISAM
    ax_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_options: Data: 8.32MB + Index: 0.75MB + Engine MyISAM
    ax_postmeta: Data: 69.11MB + Index: 13.22MB + Engine MyISAM
    ax_posts: Data: 28.34MB + Index: 3.93MB + Engine MyISAM
    ax_product: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    ax_product_categories: Data: 0.18MB + Index: 0.03MB + Engine MyISAM
    ax_revslider_css: Data: 0.09MB + Index: 0.01MB + Engine MyISAM
    ax_revslider_css_bkp: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_sliders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_sliders_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_termmeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    ax_terms: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    ax_term_relationships: Data: 0.34MB + Index: 0.75MB + Engine MyISAM
    ax_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    ax_tinvwl_analytics: Data: 0.11MB + Index: 0.12MB + Engine MyISAM
    ax_tinvwl_items: Data: 0.07MB + Index: 0.02MB + Engine MyISAM
    ax_tinvwl_lists: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    ax_usermeta: Data: 3.32MB + Index: 1.16MB + Engine MyISAM
    ax_users: Data: 0.16MB + Index: 0.13MB + Engine MyISAM
    ax_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    ax_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    ax_wc_category_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    ax_wc_customer_lookup: Data: 0.08MB + Index: 0.08MB + Engine MyISAM
    ax_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wc_order_product_lookup: Data: 5.93MB + Index: 5.20MB + Engine MyISAM
    ax_wc_order_stats: Data: 0.24MB + Index: 0.15MB + Engine MyISAM
    ax_wc_order_tax_lookup: Data: 0.23MB + Index: 0.26MB + Engine MyISAM
    ax_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wc_product_meta_lookup: Data: 0.64MB + Index: 0.54MB + Engine MyISAM
    ax_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ax_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wfblockediplog: Data: 0.30MB + Index: 0.21MB + Engine MyISAM
    ax_wfblocks7: Data: 0.05MB + Index: 0.04MB + Engine MyISAM
    ax_wfconfig: Data: 1.99MB + Index: 0.02MB + Engine MyISAM
    ax_wfcrawlers: Data: 0.28MB + Index: 0.16MB + Engine MyISAM
    ax_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wffilemods: Data: 4.04MB + Index: 0.48MB + Engine MyISAM
    ax_wfhits: Data: 3.71MB + Index: 0.70MB + Engine MyISAM
    ax_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wfissues: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    ax_wfknownfilelist: Data: 2.90MB + Index: 0.15MB + Engine MyISAM
    ax_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    ax_wflogins: Data: 0.49MB + Index: 0.09MB + Engine MyISAM
    ax_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ax_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ax_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wfreversecache: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    ax_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wfstatus: Data: 0.12MB + Index: 0.05MB + Engine MyISAM
    ax_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wpmailsmtp_debug_events: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    ax_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ax_wpml_mails: Data: 184.09MB + Index: 0.11MB + Engine MyISAM
    
    Post Type Counts
    
    acf-field: 2
    acf-field-group: 2
    attachment: 24627
    cookielawinfo: 10
    custom_css: 2
    nav_menu_item: 57
    option-tree: 1
    page: 18
    post: 4
    product: 6977
    revision: 2000
    shop_coupon: 1
    shop_order: 3158
    watermark: 1
    wp_global_styles: 1
    wpcf7_contact_form: 1
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (24)
    
    Advanced Custom Fields: by Delicious Brains – 5.12.2
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.19.0
    CMP - Coming Soon & Maintenance Plugin: by NiteoThemes – 4.1.2
    Contact Form 7: by Takayuki Miyoshi – 5.7.2
    GDPR Cookie Consent: by WebToffee – 2.1.2
    Delivery Times for WooCommerce: by Devio Digital – 1.8.0
    Envato Market: by Envato – 2.0.7
    If Menu - Visibility control for menus: by Layered – 0.16.3
    JCC Payment Gateway for WC: by JCC Payment Systems – 1.3.4
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.6.0
    Klb Shortcode: by KlbTheme – 1.6.0
    Logisoft Imports: by com2go – 1.0.0
    Meta Box: by MetaBox.io – 5.6.5
    OptionTree: by Derek Herman – 2.7.3
    Slider Revolution: by ThemePunch – 6.4.11
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.6.1
    TI WooCommerce Wishlist: by TemplateInvaders – 1.47.0
    Advanced Editor Tools (previously TinyMCE Advanced): by Automattic – 5.6.0
    Preview E-mails for WooCommerce: by Digamber Pradhan – 2.0.3
    WooCommerce: by Automattic – 6.4.1 (update to version 7.3.0 is available)
    Wordfence Security: by Wordfence – 7.5.11
    WordPress Importer: by wordpressdotorg – 0.7
    WP Mail Logging: by Wysija – 1.10.4
    WP Mail SMTP: by WPForms – 3.7.0
    
    Inactive Plugins (1)
    
    Product Watermark for WooCommerce: by BeRocket – 1.3.5.3
    
    Settings
    
    API Enabled: ?</img>
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    
    Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    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: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ?</img> Page not set
    
    Theme
    
    Name: Groci Child
    Version: 1.0
    Author URL: https://themeforest.net/user/KlbTheme
    Child Theme: ?</img>
    Parent Theme Name: Groci
    Parent Theme Version: 2.2.1
    Parent Theme Author URL: https://themeforest.net/user/KlbTheme
    WooCommerce Support: ?</img>
    
    Templates
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: groci/woocommerce/cart/cart-empty.php
    groci/woocommerce/cart/cart.php
    groci-child/woocommerce/cart/mini-cart.php
    groci/woocommerce/cart/proceed-to-checkout-button.php
    groci/woocommerce/checkout/form-checkout.php
    groci/woocommerce/checkout/form-coupon.php
    groci/woocommerce/checkout/payment.php
    groci/woocommerce/checkout/thankyou.php
    groci/woocommerce/content-product.php
    groci-child/woocommerce/content-single-product.php
    groci-child/woocommerce/emails/admin-new-order.php
    groci-child/woocommerce/emails/customer-completed-order.php
    groci-child/woocommerce/emails/email-addresses.php
    groci-child/woocommerce/emails/email-customer-details.php
    groci-child/woocommerce/emails/email-footer.php
    groci-child/woocommerce/emails/email-header.php
    groci-child/woocommerce/emails/email-order-details.php
    groci-child/woocommerce/emails/email-order-items.php
    groci/woocommerce/global/breadcrumb.php
    groci/woocommerce/loop/add-to-cart.php
    groci/woocommerce/loop/loop-end.php
    groci/woocommerce/loop/loop-start.php
    groci/woocommerce/loop/no-products-found.php
    groci/woocommerce/loop/orderby.php
    groci/woocommerce/loop/pagination.php
    groci/woocommerce/myaccount/downloads.php
    groci/woocommerce/myaccount/form-edit-account.php
    groci/woocommerce/myaccount/form-edit-address.php
    groci-child/woocommerce/myaccount/form-login.php
    groci/woocommerce/myaccount/my-account.php
    groci/woocommerce/myaccount/my-address.php
    groci/woocommerce/myaccount/navigation.php
    groci/woocommerce/notices/error.php
    groci/woocommerce/notices/success.php
    groci/woocommerce/single-product/add-to-cart/external.php
    groci/woocommerce/single-product/add-to-cart/simple.php
    groci/woocommerce/single-product/related.php
    groci/woocommerce/single-product/short-description.php
    groci/woocommerce/single-product/tabs/additional-information.php
    groci/woocommerce/single-product/tabs/description.php
    groci/woocommerce/single-product/tabs/tabs.php
    groci/woocommerce/single-product/title.php
    
    TI WooCommerce Wishlist Templates
    
    Overrides: –
    
    Action Scheduler
    
    Complete: 3,210
    Oldest: 2023-01-24 10:19:14 +0000
    Newest: 2023-02-03 12:13:36 +0000
    
    Failed: 4
    Oldest: –
    Newest: –
    
    Pending: 1
    Oldest: 2023-02-06 14:14:33 +0000
    Newest: 2023-02-06 14:14:33 +0000
    
    Status report information
    
    Generated at: 2023-02-03 15:20:59 +03:00
    `
    • This reply was modified 1 year, 10 months ago by gratiela.

    Hello,

    Thank you for sending the system report.

    WC Version: 6.4.1
    WC Database Version: 6.4.0

    Can you please navigate to Wp-Admin > plugins > WooCommerce and update the version of WooCommerce on your site? And then navigate to WooCommerce > status > tools > update database, be sure to update the database to make it match the WooCommerce version.

    After that, you can create a test order to see what is the status.

    More info: https://woocommerce.com/document/how-to-update-woocommerce/

    Let us know how this goes for you.

    • This reply was modified 1 year, 10 months ago by Igor H.
    Thread Starter gratiela

    (@gratiela)

    Hi, thank you. I did the update, so far it works. But even before this issue didn’t show every time just occasionally and I couldn’t find a pattern to explain why it occurs.

    Roxy

    (@roxannestoltz)

    Hi @gratiela ,

    Happy to hear that updating WooCommerce and the WooCommerce Database did the trick!

    But even before this issue didn’t show every time just occasionally and I couldn’t find a pattern to explain why it occurs.

    I will go ahead and mark this as resolved then, however, should the issue return, please do let us know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Order stuck in Pending Payment even though the payment was made’ is closed to new replies.