Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

#61629 closed defect (bug) (invalid)

In Retry Rule tehre is error

Reported by: traveroashu's profile traveroashu Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.5.5
Component: General Keywords:
Focuses: Cc:

Description (last modified by swissspidy)

in woocommcerce i have simly add the retry rule if user order status is failed and their subscription status is on hold then user must not be able to access the platform after the default retry rule passed of 7 days . then user should be land on the memebrship-plan page
and here ia have added the action


// Hook into the WooCommerce scheduled subscription payment retry action
add_action('woocommerce_scheduled_subscription_payment_retry', 'custom_check_payment_retry_status', 10, 2);

function custom_check_payment_retry_status($subscription, $retry_count) {
    // Ensure $subscription and $retry_count are both passed correctly
    $order = $subscription->get_parent();

    if (!$order) {
        // Handle case where order is not found
        error_log('Order not found for subscription ID: ' . $subscription->get_id());
        return;
    }

    // Check if the retry count has reached the 7-day threshold
    if ($retry_count >= 7) {
        // Check the payment status of the order
        $payment_status = $order->get_status();

        // If the payment is still not successful, update the order status
        if ($payment_status !== 'completed') {
            $order->update_status('failed'); // or 'on-hold'

            // Revoke user access
            $user_id = $order->get_user_id();
            revoke_user_access($user_id);

            // Set a transient to redirect the user upon next login
            set_transient('redirect_to_membership_' . $user_id, true, 3600);
        }
    }
}

function revoke_user_access($user_id) {
    // Custom function to revoke user access
    // This will depend on how your membership system is set up
    // For example, you could remove user roles or capabilities
    $user = new WP_User($user_id);
    $user->remove_role('subscriber'); // or any other role
    error_log('User access revoked for user ID: ' . $user_id);
}

// Redirect user on login if their order has failed
add_action('wp_login', 'redirect_after_failed_payment', 10, 2);

function redirect_after_failed_payment($user_login, $user) {
    $user_id = $user->ID;
    
    // Check if the transient is set for this user
    if (get_transient('redirect_to_membership_' . $user_id)) {
        // Delete the transient
        delete_transient('redirect_to_membership_' . $user_id);
        
        // Redirect to the membership plan page
        wp_redirect(site_url('/membership-plan')); // Change this to your membership plan page URL
        exit();
    }
}

// Redirect user during regular page loads if their order has failed
add_action('template_redirect', 'check_and_redirect_to_membership_plan');

function check_and_redirect_to_membership_plan() {
    if (is_user_logged_in()) {
        $user_id = get_current_user_id();
        
        // Check if the transient is set for this user
        if (get_transient('redirect_to_membership_' . $user_id)) {
            // Delete the transient
            delete_transient('redirect_to_membership_' . $user_id);
            
            // Redirect to the membership plan page
            wp_redirect(site_url('/membership-plan')); // Change this to your membership plan page URL
            exit();
        }
    }
}

Attachments (1)

retry 1.png (25.4 KB) - added by traveroashu 4 weeks ago.
### WordPress Environment ### WordPress address (URL): https://app.thriveguide.co Site address (URL): https://app.thriveguide.co WC Version: 8.3.1 REST API Version: ✔ 8.3.1 WC Blocks Version: ✔ 11.4.9 Action Scheduler Version: ✔ 3.7.2 Log Directory Writable: ✔ WP Version: 6.5.5 WP Multisite: – WP Memory Limit: 12 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.2.21 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/3.0.2 SUHOSIN Installed: – MySQL Version: 5.7.44-log Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.3.1 WC Database Prefix: wp_ Total Database Size: 113.18MB Database Data Size: 104.70MB Database Index Size: 8.48MB wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.30MB + Index: 0.22MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB hip_m_answer: Data: 0.16MB + Index: 0.00MB + Engine InnoDB hip_m_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_m_question: Data: 0.08MB + Index: 0.00MB + Engine InnoDB hip_m_question_bk: Data: 0.08MB + Index: 0.00MB + Engine InnoDB hip_m_question_set: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_m_question_set_question_mapping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation: Data: 0.25MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation_activity: Data: 0.09MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation_activity_bk: Data: 0.08MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation_bk: Data: 0.25MB + Index: 0.00MB + Engine InnoDB hip_m_section: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_recommendation_testcases: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_recommendation_testcases_ques_ans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_t_child_profile: Data: 0.05MB + Index: 0.00MB + Engine InnoDB hip_t_recommendation: Data: 0.52MB + Index: 0.00MB + Engine InnoDB hip_t_recommendation_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB hip_t_recommendation_reports: Data: 0.05MB + Index: 0.00MB + Engine InnoDB hip_t_resource_library: Data: 0.09MB + Index: 0.00MB + Engine InnoDB hip_t_score: Data: 0.20MB + Index: 0.00MB + Engine InnoDB hip_t_screening: Data: 0.20MB + Index: 0.00MB + Engine InnoDB hip_t_screening_question_answer: Data: 4.52MB + Index: 0.00MB + Engine InnoDB hip_user_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_woo_cancel_feedback: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.31MB + Index: 0.33MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.20MB + Index: 0.16MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.31MB + Index: 0.31MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_hip_share_with_team: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_hip_share_with_team_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 5.48MB + Index: 0.17MB + Engine InnoDB wp_pmxe_exports: Data: 1.50MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 30.52MB + Index: 3.03MB + Engine InnoDB wp_posts: Data: 3.52MB + Index: 0.22MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 1.52MB + Index: 0.59MB + Engine InnoDB wp_users: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_uwp_form_extras: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_uwp_form_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_uwp_profile_tabs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_uwp_usermeta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_uwp_user_sorting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wcusage_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_campaigns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_clicks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_payouts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_register: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.47MB + Index: 0.78MB + Engine InnoDB wp_wc_order_addresses: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.45MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 13.55MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.19MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 27.52MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 521 custom_css: 1 elementor_library: 34 elementor-hf: 1 nav_menu_item: 11 oembed_cache: 2 page: 40 post: 264 product: 13 revision: 5 shop_coupon: 12 shop_order_placehold: 272 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (23) ### Better Search Replace: by WP Engine – 1.4.7 Classic Editor: by WordPress Contributors – 1.6.3 Custom Post Type UI: by WebDevStudios – 1.17.1 Elementor Pro: by Elementor.com – 3.22.1 Elementor: by Elementor.com – 3.22.3 Enable Media Replace: by ShortPixel – 4.1.5 Flexible Checkout Fields: by WP Desk – 4.1.8 Site Kit by Google: by Google – 1.130.0 Elementor Header & Footer Builder: by Brainstorm Force Nikhil Chavan – 1.6.36 Health Innovation Platform: by LTIMindtree – 1.0 If Menu - Visibility control for menus: by Layered – 0.16.3 Inactive Logout: by Deepen Bajracharya – 3.3.4 UsersWP: by AyeCode Ltd – 1.2.12 Coupon Affiliates for WooCommerce (PRO): by Elliot Sowersby RelyWP – 5.14.1 WooCommerce Stripe Gateway: by WooCommerce – 7.7.0 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.4 Woo Subscriptions: by WooCommerce – 5.5.0 WooCommerce: by Automattic – 8.3.1 (update to version 9.0.2 is available) Wordfence Security: by Wordfence – 7.11.6 WP Mail Logging: by WP Mail Logging Team – 1.12.0 WP Mail SMTP: by WP Mail SMTP – 4.0.1 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.4.2 WPForms Lite: by WPForms – 1.8.9.5 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Elementor Safe Mode: by Elementor.com – 1.0.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: ✔ HPOS feature screen enabled: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – ### WC Pages ### Shop base: #10912 - /shop/ Cart: #10913 - /cart/ Checkout: #10914 - /checkout/ My account: #10915 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: HIP Version: 1.0.0 Author URL: https://www.ltimindtree.com Child Theme: ✔ Parent Theme Name: Astra Parent Theme Version: 4.7.2 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ✔ ### Templates ### Overrides: astra-child/woocommerce/emails/admin-cancelled-order.php astra-child/woocommerce/emails/admin-failed-order.php astra-child/woocommerce/emails/admin-new-order.php astra-child/woocommerce/emails/customer-completed-order.php astra-child/woocommerce/emails/customer-invoice.php ### Subscriptions ### WCS_DEBUG: ✔ No Subscriptions Mode: ✔ Live Subscriptions Live URL: https://app.thriveguide.co/ Subscriptions-core Library Version: 6.2.0 Subscriptions Template Theme Overrides: astra-child/woocommerce/emails/admin-payment-retry.php astra-child/woocommerce/emails/customer-completed-renewal-order.php astra-child/woocommerce/emails/customer-processing-renewal-order.php astra-child/woocommerce/emails/customer-renewal-invoice.php astra-child/woocommerce/emails/expired-subscription.php Subscription Statuses: wc-active: 101 wc-cancelled: 14 wc-expired: 7 wc-on-hold: 6 wc-pending: 3 wc-pending-cancel: 4 WooCommerce Account Connected: ❌ No Custom Retry Rules: ✔ No Custom Retry Rule Class: ✔ No Custom Raw Retry Rule: ✔ No Custom Retry Rule: ✔ No Retries Migration Status: ✔ Completed Report Cache Enabled: ✔ Yes Cache Update Failures: ✔ 0 failure ### Store Setup ### Country / State: Canada — Ontario ### Subscriptions by Payment Gateway ### Stripe: wc-active: 16 wc-cancelled: 12 wc-expired: 5 wc-on-hold: 6 wc-pending: 1 wc-pending-cancel: 4 ### Payment Gateway Support ### Stripe: products refunds tokenization add_payment_method subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer subscription_payment_method_change_admin multiple_subscriptions ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management 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: customize-store minified-js new-product-management-experience product-virtual-downloadable product-external-affiliate settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2024-07-11 12:40:11 +00:00 Options: ✔ Notes: 76 Onboarding: completed ### Action Scheduler ### Complete: 685 Oldest: 2024-06-10 08:56:17 +0000 Newest: 2024-07-11 05:52:36 +0000 Failed: 89 Oldest: 2023-10-12 12:40:35 +0000 Newest: 2024-07-11 05:22:52 +0000 Pending: 39 Oldest: 2024-07-11 09:18:56 +0000 Newest: 2025-07-09 16:43:16 +0000 ### Status report information ### Generated at: 2024-07-11 07:23:52 +00:00

Download all attachments as: .zip

Change History (2)

@traveroashu
4 weeks ago

### WordPress Environment ### WordPress address (URL): https://app.thriveguide.co Site address (URL): https://app.thriveguide.co WC Version: 8.3.1 REST API Version: ✔ 8.3.1 WC Blocks Version: ✔ 11.4.9 Action Scheduler Version: ✔ 3.7.2 Log Directory Writable: ✔ WP Version: 6.5.5 WP Multisite: – WP Memory Limit: 12 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.2.21 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/3.0.2 SUHOSIN Installed: – MySQL Version: 5.7.44-log Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.3.1 WC Database Prefix: wp_ Total Database Size: 113.18MB Database Data Size: 104.70MB Database Index Size: 8.48MB wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.30MB + Index: 0.22MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB hip_m_answer: Data: 0.16MB + Index: 0.00MB + Engine InnoDB hip_m_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_m_question: Data: 0.08MB + Index: 0.00MB + Engine InnoDB hip_m_question_bk: Data: 0.08MB + Index: 0.00MB + Engine InnoDB hip_m_question_set: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_m_question_set_question_mapping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation: Data: 0.25MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation_activity: Data: 0.09MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation_activity_bk: Data: 0.08MB + Index: 0.00MB + Engine InnoDB hip_m_recommendation_bk: Data: 0.25MB + Index: 0.00MB + Engine InnoDB hip_m_section: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_recommendation_testcases: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_recommendation_testcases_ques_ans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_t_child_profile: Data: 0.05MB + Index: 0.00MB + Engine InnoDB hip_t_recommendation: Data: 0.52MB + Index: 0.00MB + Engine InnoDB hip_t_recommendation_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB hip_t_recommendation_reports: Data: 0.05MB + Index: 0.00MB + Engine InnoDB hip_t_resource_library: Data: 0.09MB + Index: 0.00MB + Engine InnoDB hip_t_score: Data: 0.20MB + Index: 0.00MB + Engine InnoDB hip_t_screening: Data: 0.20MB + Index: 0.00MB + Engine InnoDB hip_t_screening_question_answer: Data: 4.52MB + Index: 0.00MB + Engine InnoDB hip_user_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB hip_woo_cancel_feedback: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.31MB + Index: 0.33MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.20MB + Index: 0.16MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.31MB + Index: 0.31MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_hip_share_with_team: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_hip_share_with_team_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 5.48MB + Index: 0.17MB + Engine InnoDB wp_pmxe_exports: Data: 1.50MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 30.52MB + Index: 3.03MB + Engine InnoDB wp_posts: Data: 3.52MB + Index: 0.22MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 1.52MB + Index: 0.59MB + Engine InnoDB wp_users: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_uwp_form_extras: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_uwp_form_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_uwp_profile_tabs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_uwp_usermeta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_uwp_user_sorting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wcusage_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_campaigns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_clicks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_payouts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcusage_register: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.47MB + Index: 0.78MB + Engine InnoDB wp_wc_order_addresses: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.45MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 13.55MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.19MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 27.52MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 521 custom_css: 1 elementor_library: 34 elementor-hf: 1 nav_menu_item: 11 oembed_cache: 2 page: 40 post: 264 product: 13 revision: 5 shop_coupon: 12 shop_order_placehold: 272 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (23) ### Better Search Replace: by WP Engine – 1.4.7 Classic Editor: by WordPress Contributors – 1.6.3 Custom Post Type UI: by WebDevStudios – 1.17.1 Elementor Pro: by Elementor.com – 3.22.1 Elementor: by Elementor.com – 3.22.3 Enable Media Replace: by ShortPixel – 4.1.5 Flexible Checkout Fields: by WP Desk – 4.1.8 Site Kit by Google: by Google – 1.130.0 Elementor Header & Footer Builder: by Brainstorm Force Nikhil Chavan – 1.6.36 Health Innovation Platform: by LTIMindtree – 1.0 If Menu - Visibility control for menus: by Layered – 0.16.3 Inactive Logout: by Deepen Bajracharya – 3.3.4 UsersWP: by AyeCode Ltd – 1.2.12 Coupon Affiliates for WooCommerce (PRO): by Elliot Sowersby RelyWP – 5.14.1 WooCommerce Stripe Gateway: by WooCommerce – 7.7.0 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.4 Woo Subscriptions: by WooCommerce – 5.5.0 WooCommerce: by Automattic – 8.3.1 (update to version 9.0.2 is available) Wordfence Security: by Wordfence – 7.11.6 WP Mail Logging: by WP Mail Logging Team – 1.12.0 WP Mail SMTP: by WP Mail SMTP – 4.0.1 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.4.2 WPForms Lite: by WPForms – 1.8.9.5 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Elementor Safe Mode: by Elementor.com – 1.0.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: ✔ HPOS feature screen enabled: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – ### WC Pages ### Shop base: #10912 - /shop/ Cart: #10913 - /cart/ Checkout: #10914 - /checkout/ My account: #10915 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: HIP Version: 1.0.0 Author URL: https://www.ltimindtree.com Child Theme: ✔ Parent Theme Name: Astra Parent Theme Version: 4.7.2 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ✔ ### Templates ### Overrides: astra-child/woocommerce/emails/admin-cancelled-order.php astra-child/woocommerce/emails/admin-failed-order.php astra-child/woocommerce/emails/admin-new-order.php astra-child/woocommerce/emails/customer-completed-order.php astra-child/woocommerce/emails/customer-invoice.php ### Subscriptions ### WCS_DEBUG: ✔ No Subscriptions Mode: ✔ Live Subscriptions Live URL: https://app.thriveguide.co/ Subscriptions-core Library Version: 6.2.0 Subscriptions Template Theme Overrides: astra-child/woocommerce/emails/admin-payment-retry.php astra-child/woocommerce/emails/customer-completed-renewal-order.php astra-child/woocommerce/emails/customer-processing-renewal-order.php astra-child/woocommerce/emails/customer-renewal-invoice.php astra-child/woocommerce/emails/expired-subscription.php Subscription Statuses: wc-active: 101 wc-cancelled: 14 wc-expired: 7 wc-on-hold: 6 wc-pending: 3 wc-pending-cancel: 4 WooCommerce Account Connected: ❌ No Custom Retry Rules: ✔ No Custom Retry Rule Class: ✔ No Custom Raw Retry Rule: ✔ No Custom Retry Rule: ✔ No Retries Migration Status: ✔ Completed Report Cache Enabled: ✔ Yes Cache Update Failures: ✔ 0 failure ### Store Setup ### Country / State: Canada — Ontario ### Subscriptions by Payment Gateway ### Stripe: wc-active: 16 wc-cancelled: 12 wc-expired: 5 wc-on-hold: 6 wc-pending: 1 wc-pending-cancel: 4 ### Payment Gateway Support ### Stripe: products refunds tokenization add_payment_method subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer subscription_payment_method_change_admin multiple_subscriptions ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management 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: customize-store minified-js new-product-management-experience product-virtual-downloadable product-external-affiliate settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2024-07-11 12:40:11 +00:00 Options: ✔ Notes: 76 Onboarding: completed ### Action Scheduler ### Complete: 685 Oldest: 2024-06-10 08:56:17 +0000 Newest: 2024-07-11 05:52:36 +0000 Failed: 89 Oldest: 2023-10-12 12:40:35 +0000 Newest: 2024-07-11 05:22:52 +0000 Pending: 39 Oldest: 2024-07-11 09:18:56 +0000 Newest: 2025-07-09 16:43:16 +0000 ### Status report information ### Generated at: 2024-07-11 07:23:52 +00:00

#1 @swissspidy
4 weeks ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi there and welcome to WordPress Trac!

Here we discuss issues in WordPress core itself. For help with third-party plugins such as WooCommerce, please use their dedicated support forums at https://wordpress.org/support/plugin/woocommerce/.

Note: See TracTickets for help on using tickets.