Pending Order not getting changed to Cancel
-
Hi Team,
We have used the setting Woocommerce Inventory settings & set the hold stock to 60 minutes. After that time usually the unpaid (payment pending) orders are to be cancelled.
Somehow this is not happening in this case. Payment pending orders are stuck at that status even after a month or 2 and hence we are facing issues/loses due to stock not getting updated & customers placing orders for payment pending orders after a month where the product prices has changed (hiked).
Request you to kindly help here in fixing this problem and make the un paid orders cancel after an x time.
Thanks
Shashikant
-
Hello @shashikant91,
WooCommercce uses the WP Cron system that’s part of WordPress to handle automated tasks like canceling unpaid orders. If that’s not happening it could indicate there is an issue with the operation of WP Cron.
There is a plugin called WP Crontrol that you can install. It’ll add a new menu under the Tools section of the site to show cron tasks. It’ll also show if any errors that it detects.
https://www.ads-software.com/plugins/wp-crontrol
I would suggest installing that plugin and then checking to see if there are any problems with WP Cron on the site. Let us know what you find out.
Cheers
Thanks for you response.
Let me install the plugin, check the issue and revert back to you with the result.
Will come back on this in a day’s time.
Thanks
Sharing the dashboard screen shot post installing the WP Control plugin as suggested by you.
I am not able to see any issue with any crons scheduled.
Could you please help me out in this.
Thanks
ShashikantHello @shashikant91,
Thanks for checking that. Could I get you to post a copy of the System Status Report here?
Also, go to WooCommerce > Status > Logs and use the drop-down at the top to load any fatal error logs. See if there are any fatal errors occurring on the site. That could also point to what’s keeping this from working.
Thanks!
As per your suggestion I have checked the fatal errors on the website under logs section. Below is the log of the latest fatal error (19-02-2021). There are many such error logs.
2021-02-19T08:21:40+00:00 CRITICAL Uncaught Error: Class 'FacebookPixelPlugin\Core\FacebookWordpressPixelInjection' not found in /home/pcstudio/public_html/wp-content/plugins/official-facebook-pixel/facebook-for-wordpress.php:70 Stack trace: #0 /home/pcstudio/public_html/wp-includes/class-wp-hook.php(287): FacebookPixelPlugin\FacebookForWordpress->registerPixelInjection('') #1 /home/pcstudio/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/pcstudio/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/pcstudio/public_html/wp-settings.php(546): do_action('init') #4 /home/pcstudio/public_html/wp-config.php(123): require_once('/home/pcstudio/...') #5 /home/pcstudio/public_html/wp-load.php(37): require_once('/home/pcstudio/...') #6 /home/pcstudio/public_html/wp-blog-header.php(13): require_once('/home/pcstudio/...') #7 /home/pcstudio/public_html/index.php(17): require('/home/pcstudio/...') #8 {main} thrown in /home/pcstudio/public_html/wp-content/plugins/official-facebook-pixel/facebook-for-wordpress.php on line 70 2021-02-19T08:21:40+00:00 CRITICAL Uncaught Error: Class 'FacebookAds\Object\ServerSide\Event' not found in /home/pcstudio/public_html/wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php:59 Stack trace: #0 /home/pcstudio/public_html/wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php(144): FacebookPixelPlugin\Core\ServerEventAsyncTask->convert_array_to_event(Array) #1 /home/pcstudio/public_html/wp-content/plugins/official-facebook-pixel/vendor/techcrunch/wp-async-task/wp-async-task.php(164): FacebookPixelPlugin\Core\ServerEventAsyncTask->run_action() #2 /home/pcstudio/public_html/wp-includes/class-wp-hook.php(287): WP_Async_Task->handle_postback('') #3 /home/pcstudio/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #4 /home/pcstudio/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/pcstudio/public_html/wp-admin/admin-post.php(51): do_action('admin_post_nopr...') #6 {main} thrown in /home/pcstudio/public_html/wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php on line 59 2021-02-19T08:21:50+00:00 CRITICAL Trait 'WGACT\Classes\Pixels\Trait_Product' not found in /home/pcstudio/public_html/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-pixel-manager.php on line 16
Also below is the system status report copy.
### WordPress Environment ### WordPress address (URL): https://www.pcstudio.in Site address (URL): https://www.pcstudio.in WC Version: 4.8.0 REST API Version: ? 4.8.0 WC Blocks Version: ? 3.8.1 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.7.3 Log Directory Writable: ? WP Version: ? 5.5.3 - There is a newer version of WordPress available (5.6.2) WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: ? WP Cron: ? Language: en External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.27 PHP Post Max Size: 1 GB PHP Time Limit: 600 PHP Max Input Vars: 1000 cURL Version: 7.69.1 OpenSSL/1.1.1i SUHOSIN Installed: – MySQL Version: 5.7.33 Max Upload Size: 1 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.8.0 WC Database Prefix: wp_ Total Database Size: 1978.04MB Database Data Size: 1721.25MB Database Index Size: 256.79MB wp_woocommerce_sessions: Data: 811.21MB + Index: 35.89MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 1.23MB + Index: 0.51MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 7.03MB + Index: 4.55MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 3.04MB + Index: 0.87MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 16.92MB + Index: 12.89MB + Engine MyISAM wp_aioseo_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_aioseo_posts: Data: 3.44MB + Index: 0.41MB + Engine MyISAM wp_aioseo_terms: Data: 0.08MB + Index: 0.03MB + Engine MyISAM wp_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_braapf_product_stock_status_parent: Data: 0.03MB + Index: 0.06MB + Engine MyISAM wp_braapf_product_variation_attributes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_braapf_term_taxonomy_hierarchical: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_braapf_variation_attributes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.10MB + Index: 0.08MB + Engine MyISAM wp_comments: Data: 2.18MB + Index: 0.90MB + Engine MyISAM wp_itsec_bans: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wp_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_lockouts: Data: 0.98MB + Index: 0.14MB + Engine MyISAM wp_itsec_logs: Data: 34.64MB + Index: 3.11MB + Engine MyISAM wp_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_temp: Data: 2.50MB + Index: 2.59MB + Engine MyISAM wp_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nextend2_image_storage: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_nextend2_section_storage: Data: 0.05MB + Index: 0.01MB + Engine MyISAM wp_nextend2_smartslider3_generators: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nextend2_smartslider3_sliders: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_nextend2_smartslider3_sliders_xref: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nextend2_smartslider3_slides: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_options: Data: 11.15MB + Index: 5.67MB + Engine MyISAM wp_pmxe_exports: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM wp_pmxe_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_hash: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_images: Data: 0.27MB + Index: 0.07MB + Engine MyISAM wp_pmxi_imports: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_postmeta: Data: 47.81MB + Index: 12.38MB + Engine MyISAM wp_posts: Data: 24.85MB + Index: 1.93MB + Engine MyISAM wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders: Data: 0.04MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides: Data: 0.06MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_swift_performance_warmup: Data: 0.32MB + Index: 0.35MB + Engine MyISAM wp_termmeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wp_terms: Data: 0.03MB + Index: 0.07MB + Engine MyISAM wp_term_relationships: Data: 0.36MB + Index: 0.69MB + Engine MyISAM wp_term_taxonomy: Data: 0.04MB + Index: 0.04MB + Engine MyISAM wp_ualp_user_activity: Data: 735.83MB + Index: 167.00MB + Engine MyISAM wp_um_metadata: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 9.17MB + Index: 3.59MB + Engine MyISAM wp_users: Data: 0.41MB + Index: 0.50MB + Engine MyISAM wp_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.28MB + Index: 0.26MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.81MB + Index: 0.68MB + Engine MyISAM wp_wc_order_stats: Data: 0.23MB + Index: 0.15MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.20MB + Index: 0.27MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdp_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdp_order_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wdp_rules: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wfblockediplog: Data: 0.11MB + Index: 0.06MB + Engine MyISAM wp_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfconfig: Data: 0.41MB + Index: 0.01MB + Engine MyISAM wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilemods: Data: 2.42MB + Index: 0.33MB + Engine MyISAM wp_wfhits: Data: 0.53MB + Index: 0.09MB + Engine MyISAM wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfissues: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wfknownfilelist: Data: 1.34MB + Index: 0.14MB + Engine MyISAM wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wflogins: Data: 0.28MB + Index: 0.07MB + Engine MyISAM wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfstatus: Data: 0.07MB + Index: 0.03MB + Engine MyISAM wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpmm_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yith_wcwl: Data: 0.10MB + Index: 0.06MB + Engine MyISAM wp_yith_wcwl_lists: Data: 0.06MB + Index: 0.09MB + Engine MyISAM ### Post Type Counts ### acf-field: 48 acf-field-group: 11 attachment: 12575 br_product_filter: 39 br_suggestion: 5 custom_css: 1 customize_changeset: 7 nav_menu_item: 79 notificationx: 1 page: 47 post: 2 product: 1917 product_variation: 31 revision: 1828 shop_coupon: 1 shop_order: 5202 shop_order_refund: 82 um_directory: 1 um_form: 3 wcpcsu-custom-post: 1 wcpcsu-custom-pro: 11 woo_product_builder: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (41) ### Category Banner Management for Woocommerce: by theDotstore – 2.1.1 Ultimate Addons for WPBakery Page Builder: by Brainstorm Force – 3.18.0 CCAvenue Payment Gateway for WooCommerce: by – 3.2.1 – Installed version not tested with active version of WooCommerce 4.0 Advanced Custom Fields: by Elliot Condon – 5.9.5 Advanced Dynamic Pricing for WooCommerce: by AlgolPlus – 3.1.5 AJAX Search for WooCommerce: by Damian Góra – 1.8.2 All in One SEO Pro: by All in One SEO Team – 4.0.15 All-in-One WP Migration: by ServMask – 7.37 Animate It!: by eLEOPARD Design Studios – 2.3.7 iThemes Security: by iThemes – 7.9.0 Colorlib Login Customizer: by Colorlib – 1.2.98 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.0.3 Error Log Monitor: by Janis Elsts – 1.7 Far Future Expiration Plugin: by Tips and Tricks HQ – 1.4 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.16.2 Insert Headers and Footers: by WPBeginner – 1.5.0 WPBakery Page Builder: by Michael M - WPBakery.com – 5.7 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.19.2 Max Mega Menu: by megamenu.com – 2.9.2 NotificationX: by WPDeveloper – 1.9.1 Facebook for WordPress: by Facebook – 3.0.4 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3 Simple Social Icons: by StudioPress – 3.0.2 Smart Slider 3: by Nextend – 3.4.1.16 Swift Performance Lite: by SWTE – 2.1.5 User Activity Log: by Solwin Infotech – 1.4.4 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.5 Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.8 Kiasa UPI Payment plugin for WooCommerce: by Kiasa – 1.2 – Installed version not tested with active version of WooCommerce 4.0 Advanced AJAX Product Filters for WooCommerce: by BeRocket – 1.5.2.9 WooCommerce Google Ads Conversion Tracking: by Wolf+B?r Agency – 1.8.15 Woocommerce Product Builder Premium: by VillaTheme – 2.0.5.5 WooCommerce Product Carousel, Slider & Grid Ultimate Pro: by Aazztech – 1.8.5 – Installed version not tested with active version of WooCommerce 4.0 WooCommerce Product CSV Import Suite: by WooThemes – 1.10.10 – Installed version not tested with active version of WooCommerce 4.0 WooCommerce Product Image Flipper: by jameskoster – 0.4.2 – Installed version not tested with active version of WooCommerce 4.0 WooCommerce Product Stock Alert: by WC Marketplace – 1.7.1 WooCommerce: by Automattic – 4.8.0 (update to version 5.0.0 is available) WP Crontrol: by John Blackbourn & crontributors – 1.10.0 WP Maintenance Mode: by Designmodo – 2.3.0 YITH Pre-Order for WooCommerce: by YITH – 1.3.0 YITH WooCommerce Wishlist: by YITH – 3.0.19 ### Inactive Plugins (0) ### ### Must Use Plugins (1) ### installatron_hide_status_test.php: by – ### Settings ### API Enabled: – Force SSL: – Currency: INR (?) 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: #5 - /shop/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: #909 - /terms-conditions/ ### Theme ### Name: Storefront Version: 2.5.3 (update to version 3.5.0 is available) Author URL: https://woocommerce.com/ 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 WooCommerce Support: ? ### Templates ### Overrides: storefront/woocommerce/archive-product.php storefront/woocommerce/auth/footer.php storefront/woocommerce/auth/form-grant-access.php version 2.4.0 is out of date. The core version is 4.3.0 storefront/woocommerce/auth/form-login.php storefront/woocommerce/auth/header.php storefront/woocommerce/cart/cart-empty.php storefront/woocommerce/cart/cart-item-data.php storefront/woocommerce/cart/cart-shipping.php storefront/woocommerce/cart/cart-totals.php storefront/woocommerce/cart/cart.php storefront/woocommerce/cart/cross-sells.php version 3.0.0 is out of date. The core version is 4.4.0 storefront/woocommerce/cart/mini-cart.php storefront/woocommerce/cart/proceed-to-checkout-button.php storefront/woocommerce/cart/shipping-calculator.php storefront/woocommerce/checkout/cart-errors.php storefront/woocommerce/checkout/form-billing.php storefront/woocommerce/checkout/form-checkout.php storefront/woocommerce/checkout/form-coupon.php storefront/woocommerce/checkout/form-login.php storefront/woocommerce/checkout/form-pay.php storefront/woocommerce/checkout/form-shipping.php storefront/woocommerce/checkout/order-receipt.php storefront/woocommerce/checkout/payment-method.php storefront/woocommerce/checkout/payment.php storefront/woocommerce/checkout/review-order.php storefront/woocommerce/checkout/terms.php storefront/woocommerce/checkout/thankyou.php storefront/woocommerce/content-product.php storefront/woocommerce/content-single-product.php storefront/woocommerce/content-widget-price-filter.php storefront/woocommerce/content-widget-product.php storefront/woocommerce/content-widget-reviews.php storefront/woocommerce/emails/admin-cancelled-order.php storefront/woocommerce/emails/admin-failed-order.php storefront/woocommerce/emails/admin-new-order.php storefront/woocommerce/emails/customer-completed-order.php storefront/woocommerce/emails/customer-invoice.php storefront/woocommerce/emails/customer-new-account.php storefront/woocommerce/emails/customer-note.php storefront/woocommerce/emails/customer-on-hold-order.php storefront/woocommerce/emails/customer-processing-order.php storefront/woocommerce/emails/customer-refunded-order.php storefront/woocommerce/emails/customer-reset-password.php storefront/woocommerce/emails/email-addresses.php storefront/woocommerce/emails/email-customer-details.php storefront/woocommerce/emails/email-downloads.php storefront/woocommerce/emails/email-footer.php storefront/woocommerce/emails/email-header.php storefront/woocommerce/emails/email-order-details.php storefront/woocommerce/emails/email-order-items.php storefront/woocommerce/emails/email-styles.php storefront/woocommerce/emails/plain/admin-cancelled-order.php storefront/woocommerce/emails/plain/admin-failed-order.php storefront/woocommerce/emails/plain/admin-new-order.php storefront/woocommerce/emails/plain/customer-completed-order.php storefront/woocommerce/emails/plain/customer-invoice.php storefront/woocommerce/emails/plain/customer-new-account.php storefront/woocommerce/emails/plain/customer-note.php storefront/woocommerce/emails/plain/customer-on-hold-order.php storefront/woocommerce/emails/plain/customer-processing-order.php storefront/woocommerce/emails/plain/customer-refunded-order.php storefront/woocommerce/emails/plain/customer-reset-password.php storefront/woocommerce/emails/plain/email-addresses.php storefront/woocommerce/emails/plain/email-customer-details.php storefront/woocommerce/emails/plain/email-downloads.php storefront/woocommerce/emails/plain/email-order-details.php storefront/woocommerce/emails/plain/email-order-items.php storefront/woocommerce/global/breadcrumb.php storefront/woocommerce/global/form-login.php storefront/woocommerce/global/quantity-input.php storefront/woocommerce/global/sidebar.php storefront/woocommerce/global/wrapper-end.php storefront/woocommerce/global/wrapper-start.php storefront/woocommerce/loop/add-to-cart.php storefront/woocommerce/loop/loop-end.php storefront/woocommerce/loop/loop-start.php storefront/woocommerce/loop/no-products-found.php storefront/woocommerce/loop/orderby.php storefront/woocommerce/loop/pagination.php storefront/woocommerce/loop/price.php storefront/woocommerce/loop/rating.php storefront/woocommerce/loop/result-count.php storefront/woocommerce/loop/sale-flash.php storefront/woocommerce/myaccount/dashboard.php storefront/woocommerce/myaccount/downloads.php storefront/woocommerce/myaccount/form-add-payment-method.php version 3.4.0 is out of date. The core version is 4.3.0 storefront/woocommerce/myaccount/form-edit-account.php storefront/woocommerce/myaccount/form-edit-address.php storefront/woocommerce/myaccount/form-login.php storefront/woocommerce/myaccount/form-lost-password.php storefront/woocommerce/myaccount/form-reset-password.php storefront/woocommerce/myaccount/lost-password-confirmation.php storefront/woocommerce/myaccount/my-account.php storefront/woocommerce/myaccount/my-address.php storefront/woocommerce/myaccount/my-downloads.php storefront/woocommerce/myaccount/my-orders.php storefront/woocommerce/myaccount/navigation.php storefront/woocommerce/myaccount/orders.php storefront/woocommerce/myaccount/payment-methods.php storefront/woocommerce/myaccount/view-order.php storefront/woocommerce/notices/error.php storefront/woocommerce/notices/notice.php storefront/woocommerce/notices/success.php storefront/woocommerce/order/form-tracking.php storefront/woocommerce/order/order-again.php storefront/woocommerce/order/order-details-customer.php storefront/woocommerce/order/order-details-item.php storefront/woocommerce/order/order-details.php version 3.7.0 is out of date. The core version is 4.6.0 storefront/woocommerce/order/order-downloads.php storefront/woocommerce/order/tracking.php storefront/woocommerce/product-searchform.php storefront/woocommerce/single-product/add-to-cart/external.php storefront/woocommerce/single-product/add-to-cart/grouped.php storefront/woocommerce/single-product/add-to-cart/simple.php storefront/woocommerce/single-product/add-to-cart/variable.php storefront/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php storefront/woocommerce/single-product/add-to-cart/variation.php storefront/woocommerce/single-product/meta.php storefront/woocommerce/single-product/photoswipe.php storefront/woocommerce/single-product/price.php storefront/woocommerce/single-product/product-attributes.php storefront/woocommerce/single-product/product-image.php storefront/woocommerce/single-product/product-thumbnails.php storefront/woocommerce/single-product/rating.php storefront/woocommerce/single-product/related.php storefront/woocommerce/single-product/review-meta.php storefront/woocommerce/single-product/review-rating.php storefront/woocommerce/single-product/review.php storefront/woocommerce/single-product/sale-flash.php storefront/woocommerce/single-product/share.php storefront/woocommerce/single-product/short-description.php storefront/woocommerce/single-product/stock.php storefront/woocommerce/single-product/tabs/additional-information.php storefront/woocommerce/single-product/tabs/description.php storefront/woocommerce/single-product/tabs/tabs.php storefront/woocommerce/single-product/title.php storefront/woocommerce/single-product/up-sells.php storefront/woocommerce/single-product-reviews.php version 3.6.0 is out of date. The core version is 4.3.0 storefront/woocommerce/single-product.php storefront/woocommerce/content-product_cat.php version 2.6.1 is out of date. The core version is 4.7.0 storefront/woocommerce/taxonomy-product_cat.php version 1.6.4 is out of date. The core version is 4.7.0 storefront/woocommerce/taxonomy-product_tag.php version 1.6.4 is out of date. The core version is 4.7.0 Outdated Templates: ? Learn how to update ### Action Scheduler ### Complete: 7,625 Oldest: 2021-01-23 15:22:59 +0000 Newest: 2021-02-23 15:20:07 +0000 Pending: 6 Oldest: 2021-02-23 15:22:07 +0000 Newest: 2021-02-24 14:26:07 +0000
Hi @shashikant91. Sorry we missed your last response.
It looks like the fatal error is the Facebook plugin that you have installed. I’m not seeing any red flags in the system status report.
Are new orders also not getting cancelled within 60 minutes or is it the older orders that are affected? If it’s only the older orders, it may be that Cron wasn’t working in the past but is working fine now. In that case you can use a snippet to cancel the older orders. There is a discussion here that may help. I have not tested the snippet; you can comment directly on the post with any questions to its developer. You could use a plugin like Code Snippets to add it to your site.
Hi @drwpcom
Thanks for your revert.
I have observed that even now the orders aren’t getting cancelled after the set time in woocommerce inventory settings.
Do you suggest me to deactivate the social plugin & see if the unpaid orders get cancelled.
Thanks
ShashikantHi @shashikant91, the hook we expect to see in your Cron Events is
woocommerce_cancel_unpaid_orders
. Can you checkout on your site but don’t complete payment so that there is an order with status Pending Payment and then check the Cron Events to see if an event with hookwoocommerce_cancel_unpaid_orders
is created? If not, then something is preventing the that and I would recommend conflict testing as a next step.Hi @shashikant91. We haven’t heard back from you and I hope that means you’ve resolved the issue. If you still need help, please start a new thread.
- The topic ‘Pending Order not getting changed to Cancel’ is closed to new replies.