Skip to content

WooPayments shows in the admin menu without being installed #39668

@DudeDude95

Description

@DudeDude95

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

Since the last WooCommerce update, I have noticed WooPayments (FKA WooCommerce Payments) now mysteriously appears in the admin menu as if I have the plugin installed when I do not.
image

This seems a very a covert way of advertising the plugin on sites which use different payment gateways. You can see I don't have WooPayments installed, yet a menu item with a notification bubble to draw attention to it conveniently appears.
image

Expected behavior

Not to see an admin menu item for a plugin that is not installed.

Actual behavior

I see the WooPayments menu item as if I have the plugin installed.

Steps to reproduce

  1. Go to your WordPress admin dashboard
  2. Navigate around a bit
  3. BAM! WooPayments mysteriously appears
  4. It will then disappear randomly and appear again depending on where you are on the dashboard.

I am able to recreate this on 3 stores

Here is the link to the page, all you need is WooCommerce installed:
/wp-admin/admin.php?page=wc-admin&path=%2Fwc-pay-welcome-page

WordPress Environment

`

WordPress Environment

WordPress address (URL): REDACTED
Site address (URL): REDACTED
WC Version: 8.0.1
REST API Version: ✔ 8.0.1
WC Blocks Version: ✔ 10.6.5
Action Scheduler Version: ✔ 3.6.1
Log Directory Writable: ✔
WP Version: 6.3
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_GB
External object cache: –

Server Environment

Server Info: Apache
PHP Version: 7.4.33
PHP Post Max Size: 128 MB
PHP Time Limit: 300
PHP Max Input Vars: 2500
cURL Version: 8.1.2
OpenSSL/1.1.1t-fips

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.4.30-MariaDB-log
Max Upload Size: 128 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 8.0.1
WC Database Prefix: 4c_
Total Database Size: 14.99MB
Database Data Size: 11.94MB
Database Index Size: 3.05MB
4c_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
4c_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
4c_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
4c_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_campaigns: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_connections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_affiliate_wp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_custom_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_affiliate_wp_notifications: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_affiliate_wp_referrals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_sales: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_affiliate_wp_visits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
4c_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
4c_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
4c_e_submissions: Data: 0.08MB + Index: 0.27MB + Engine InnoDB
4c_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
4c_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_options: Data: 5.03MB + Index: 0.06MB + Engine InnoDB
4c_postmeta: Data: 3.08MB + Index: 0.19MB + Engine InnoDB
4c_posts: Data: 2.06MB + Index: 0.06MB + Engine InnoDB
4c_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
4c_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
4c_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
4c_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
4c_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
4c_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
4c_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
4c_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
4c_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
4c_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
4c_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
4c_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

Post Type Counts

attachment: 77
custom_css: 1
customize_changeset: 3
elementor_library: 17
nav_menu_item: 21
page: 21
post: 17
product: 2
revision: 107
shop_order: 1

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (12)

AffiliateWP: by AffiliateWP – 2.15.2
AffiliateWP - Affiliate Area Shortcodes: by AffiliateWP – 1.3.1
AffiliateWP - Allowed Products: by Sandhills Development
LLC – 1.3

AffiliateWP - Custom Affiliate Slugs: by Sandhills Development
LLC – 1.2

Code Snippets: by Code Snippets Pro – 3.4.2
Elementor Pro: by Elementor.com – 3.15.1
Elementor: by Elementor.com – 3.15.2
Perfmatters: by forgemedia – 2.1.4
Rank Math SEO: by Rank Math – 1.0.121
String Locator: by InstaWP – 2.6.1
WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.25
WooCommerce: by Automattic – 8.0.1

Inactive Plugins (0)

Must Use Plugins (1)

StackCache: by Stack CP –

Settings

API Enabled: –
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: ✔
HPOS feature screen enabled: –
HPOS feature enabled: –
Order datastore: WC_Order_Data_Store_CPT
HPOS data sync enabled: –

WC Pages

Shop base: #782 - /shop
Basket: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
Checkout: #23 - /checkout
My account: #24 - /my-account
Terms and conditions: #74 - /policies/terms-conditions

Theme

Name: Hello Elementor
Version: 2.8.1
Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
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: –

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
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page

Disabled Features: minified-js
new-product-management-experience
product-variation-management
settings
async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2023-08-10 09:24:54 +01:00
Options: ✔
Notes: 82
Onboarding: completed

Action Scheduler

Complete: 76
Oldest: 2023-07-10 10:35:52 +0100
Newest: 2023-08-10 10:02:58 +0100

Failed: 3
Oldest: 2023-07-08 10:34:11 +0100
Newest: 2023-07-28 09:31:56 +0100

Pending: 4
Oldest: 2023-08-10 19:06:47 +0100
Newest: 2023-08-27 09:47:28 +0100

Status report information

Generated at: 2023-08-10 10:04:41 +01:00
`

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThe issue is a confirmed bug.PaymentsIssues related to payments.Payments EngineeringWooCommerce Payments, WooCommerce Subscriptions and WooCommerce Stripeneeds: developer feedbackIssues that need feedback from one of the WooCommerce Core developers.type: community contribution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions