Test Mode keeps switching itself on
-
My clients website keeps automatically switching TEST MODE on. Why does it do this?
This causes massive issues with their customers. Can you help?
Why does it do this?
The page I need help with: [log in to see the link]
-
Hi @nhdwordpressorg,
Thank you for reaching out.
My clients website keeps automatically switching TEST MODE on. Why does it do this?
Are you able to share the interval at which the site switches back to TEST MODE?
Also, do you remember making any changes before the issue started, such as updating or installing plugin(s)?
I’m guessing it happens after updates. But is that normal?
Hey, @nhdwordpressorg!
This is not normal, the plugin should not switch to test mode after an update.
From what I understand this happened with more than one website, correct?
Do they have any similarities (besides using Stripe)?
Furthermore, Iβd like to understand the sites properly. Please share with us the necessary information below for us to investigate the issue further.
You can share from one or two sites so we can compare them πSystem Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Have a wonderful day!
Hi, nope this is currently only an issue with one website.
I see no issues on the Status log, but you can take a look here
WordPress Environment<br><br>WordPress address (URL): https://americanbanditjewelry.com<br>Site address (URL): https://americanbanditjewelry.com<br>WC Version: 9.2.3<br>Legacy REST API Package Version: β 1.0.4<br>Action Scheduler Version: β 3.8.1<br>Log Directory Writable: β<br>WP Version: 6.6.1<br>WP Multisite: β<br>WP Memory Limit: 2 GB<br>WP Debug Mode: β<br>WP Cron: β<br>Language: en_US<br>External object cache: β Server Environment<br><br>Server Info: Apache<br>PHP Version: 8.2.19<br>PHP Post Max Size: 2 GB<br>PHP Time Limit: 600<br>PHP Max Input Vars: 16384<br>cURL Version: 7.29.0<br>NSS/3.90<br><br>SUHOSIN Installed: β<br>MySQL Version: 10.5.19-MariaDB<br>Max Upload Size: 2 GB<br>Default Timezone is UTC: β<br>fsockopen/cURL: β<br>SoapClient: β<br>DOMDocument: β<br>GZip: β<br>Multibyte String: β<br>Remote Post: β<br>Remote Get: β Database<br><br>WC Database Version: 9.2.3<br>WC Database Prefix: wp_<br>Total Database Size: 313.32MB<br>Database Data Size: 220.12MB<br>Database Index Size: 93.20MB<br>wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.13MB + Index: 0.09MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 47.27MB + Index: 36.14MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 30.22MB + Index: 21.41MB + Engine InnoDB<br>wp_blocksy_product_taxonomies_lookup: Data: 0.36MB + Index: 0.00MB + Engine InnoDB<br>wp_brizy_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB<br>wp_ddp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 4.52MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB<br>wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_options: Data: 9.08MB + Index: 3.06MB + Engine InnoDB<br>wp_postmeta: Data: 102.33MB + Index: 25.95MB + Engine InnoDB<br>wp_posts: Data: 8.03MB + Index: 0.91MB + Engine InnoDB<br>wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_shortpixel_postmeta: Data: 2.52MB + Index: 0.78MB + Engine InnoDB<br>wp_shortpixel_queue: Data: 7.02MB + Index: 0.36MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.16MB + Index: 0.13MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.16MB + Index: 0.14MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_vi_wbe_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_w3tc_cdn_pathmap: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_w3tc_cdn_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.08MB + Index: 0.13MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.14MB + Index: 0.47MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_spm_checkpoints: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpdatacharts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpdatatables: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpdatatables_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpdatatables_columns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpdatatables_rows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpdatatables_templates: Data: 0.50MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wapo_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wapo_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wapo_blocks_assoc: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 2.50MB + Index: 0.61MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts<br><br>attachment: 5538<br>brizy-font: 2<br>brizy-project: 1<br>brizy-saved-block: 2<br>custom_css: 1<br>customize_changeset: 2<br>editor-form-entry: 66<br>fpf_fields: 1<br>global_product_addon: 1<br>mailpoet_page: 1<br>nav_menu_item: 24<br>page: 15<br>product: 4399<br>product_variation: 4400<br>revision: 528<br>shop_coupon: 2<br>shop_order: 77<br>shop_order_placehold: 9<br>size-chart: 1<br>tm_template_cp: 14<br>wapf_product: 1<br>wc_order_status: 9<br>wp_global_styles: 1<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): β<br>Hide errors from visitors: β Active Plugins (22)<br><br>NHD Custom Theme Plugin: by CreativeThemes β 2.0.64<br>NHD Builder Pro: by NHD Builder β 2.5.1<br>NHD Builder: by NHD Builder β 2.5.3<br>Yoast Duplicate Post: by Enrico Battocchi & Team Yoast β 4.5<br>Google for WooCommerce: by WooCommerce β 2.8.4<br>Site Kit by Google: by Google β 1.134.0<br>Pinterest for WooCommerce: by WooCommerce β 1.4.8<br>ShortPixel Image Optimizer: by ShortPixel - Convert WebP/AVIF & Optimize Images β 5.6.3<br>W3 Total Cache: by BoldGrid β 2.7.5<br>Converter for Media: by matt plugins - Optimize images by convert WebP & AVIF β 6.0.0<br>White Label CMS: by www.videousermanuals.com β 2.7.6<br>Product Size Charts Plugin for WooCommerce: by theDotstore β 2.4.4<br>WooCommerce.com Update Manager: by Automattic β 1.0.3<br>WooCommerce Stripe Gateway: by WooCommerce β 8.6.1<br>Google Analytics for WooCommerce: by WooCommerce β 2.1.6<br>WooCommerce Legacy REST API: by WooCommerce β 1.0.4<br>WooCommerce Order Status Manager: by SkyVerge β 1.15.2 (update to version 1.15.3 is available)<br>WooCommerce Sequential Order Numbers Pro: by SkyVerge β 1.21.3<br>WooCommerce: by Automattic β 9.2.3<br>Yoast SEO: by Team Yoast β 23.3<br>YITH WooCommerce Order & Shipment Tracking: by YITH β 2.29.0<br>YITH WooCommerce Product Add-ons & Extra Options: by YITH β 4.13.0 Inactive Plugins (0) Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php<br>fatal-error-handler.php: fatal-error-handler.php<br>object-cache.php: object-cache.php Must Use Plugins (1)<br><br>Nexcess Managed Apps: by Nexcess β 1.51.0 Settings<br><br>Legacy API Enabled: β<br>Force SSL: β<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: β<br>Enforce Approved Product Download Directories: β<br>HPOS feature enabled: β<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: β Logging<br><br>Enabled: β<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: β<br>Log directory size: 4 MB WC Pages<br><br>Shop base: #1250 - /shop/<br>Cart: #18 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #19 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #20 - /my-account/<br>Terms and conditions: #1168 - /customer-service/ Theme<br><br>Name: NHD Child<br>Version: (update to version 0 is available)<br>Author URL:<br>Child Theme: β<br>Parent Theme Name: Blocksy<br>Parent Theme Version: 2.0.64<br>Parent Theme Author URL: https://creativethemes.com<br>WooCommerce Support: β Templates<br><br>Overrides: blocksy/woocommerce/cart/cart.php<br>blocksy/woocommerce/cart/mini-cart.php<br>blocksy/woocommerce/content-widget-product.php<br>blocksy/woocommerce/content-widget-reviews.php<br>blocksy/woocommerce/myaccount/my-account.php<br>blocksy/woocommerce/product-searchform.php<br>blocksy/woocommerce/single-product/tabs/tabs.php Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: β Next scheduled: 2024-08-29 23:59:10 +00:00<br>Options: β<br>Notes: 102<br>Onboarding: completed Action Scheduler<br><br>Complete: 14,855<br>Oldest: 2024-07-29 21:40:18 +0000<br>Newest: 2024-08-29 21:35:38 +0000<br><br>Failed: 7,556<br>Oldest: 2023-10-12 14:50:24 +0000<br>Newest: 2024-08-29 13:49:11 +0000<br><br>Pending: 7<br>Oldest: 2024-08-29 21:40:37 +0000<br>Newest: 2024-08-30 18:50:39 +0000 Status report information<br><br>Generated at: 2024-08-29 21:38:10 +00:00<br>Hey, @nhdwordpressorg!
Thanks for clarifying and for the SSR.
Everything seems okay with it.
Can you please share the Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Also please share screenshots of what you see on WooCommerce > Settings > Payments > Stripe > Settings
You can share multiple screenshots so we can see the whole page π Just please blur any sensitive information.I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.
Looking forward to your reply.
Have a wonderful day!
Hi @nhdwordpressorg.
I donβt see any Fatal Error files in the Logs. I searched but nothing.
Thank you for the additional details. Since this only happens after updating, we’ll need to wait for updates to learn more, if the issue happens again, kindly let us know more details about this, for instance:
- Does this happen after updating the Stripe plugin only?
- Does this happen after updating the WooCommerce plugin as well, perhaps?
- Does this happen after updating any other plugin by any chance?
- Do you run the updates automatically or manually?
- Do you use any thir-party plugin or service to manage updates?
If you identify this change happening at any other time other than updates please also let us know.
Thanks!
-OPI will monitor when the site needs updating next.
- Does this happen after updating the Stripe plugin only? I will need to wait until the next update.
- Does this happen after updating the WooCommerce plugin as well, perhaps? I will need to wait until the next update.
- Does this happen after updating any other plugin by any chance? The last updates, I pushed all updates at once.
- Do you run the updates automatically or manually? I manually update the plugins and website.
- Do you use any third-party plugin or service to manage updates? Nope, I have switched all the options off with the hosting company.
Hi @nhdwordpressorg,
Sounds like a plan, please keep an eye out on the behavior, as that is not how the WooCommerce Stripe Payment Gateway should behave.
As you’ve also mentioned that you manually update your plugins and website, which is a good practice as it allows you to control when and what updates are applied. This can help prevent potential conflicts or issues that can sometimes occur with automatic updates.
Let us know how the plugin behaves once you install an update.
The topic ‘Test Mode keeps switching itself on’ is closed to new replies.