Support » Plugin: WooCommerce » If already a specific user role; don’t change when product purchased.

  • Resolved Connor

    (@mopdog)


    Currently working on a site that has a few different user roles and levels setup. For regular members without a subscription they are just “customers” role and cannot do much without paying their subscription fee. Once they have paid WooCommerce automatically switches their role to “subscriber”. This is all great. My problem is i have a user role “board_member” that is manually set but they still have to pay their fees and when they pay the fee its assigning them to both roles “subscriber” and “board_member”. Is there a function i can add that if the user role is set as “board_member” already it will not change their role to subscriber?

    • This topic was modified 9 months ago by Connor.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Brad P. a11n

    (@snaacks)

    Hi @mopdog

    Sorry to see you’re having trouble with roles and subscriptions, in order to help us assist, could you please provide a copy of your site’s System Status? You can find it via WooCommerce > Status.

    Once we have that we can get a look at what you’re working with and potentially better advise.

    Thanks!

    Thread Starter Connor

    (@mopdog)

    @snaacks

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://ctga.ahn2k5uj-liquidwebsites.com
    Site address (URL): https://ctga.ahn2k5uj-liquidwebsites.com
    WC Version: 5.7.1
    REST API Version: ✔ 5.7.1
    WC Blocks Version: ✔ 5.7.2
    Action Scheduler Version: ✔ 3.2.1
    WC Admin Version: ✔ 2.6.5
    Log Directory Writable: ✔
    WP Version: 5.8.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.14.0
    PHP Version: 7.3.29-1+ubuntu18.04.1+deb.sury.org+1
    PHP Post Max Size: 200 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.51-91.0
    Max Upload Size: 200 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.7.1
    WC Database Prefix: wp_
    Total Database Size: 27.17MB
    Database Data Size: 23.11MB
    Database Index Size: 4.06MB
    wp_woocommerce_sessions: Data: 0.08MB + 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.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + 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
    wp_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + 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.05MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_addon_payment_callback: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_addon_payment_transaction: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_give_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_give_comments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_give_donationmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_give_donormeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_give_donors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_give_formmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_give_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_give_migrations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_give_revenue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_give_sequential_ordering: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_give_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_itsec_logs: Data: 0.50MB + Index: 0.33MB + Engine InnoDB
    wp_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mec_attendees: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mec_dates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mec_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mec_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mec_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_action_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_field_meta: Data: 0.23MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_upgrades: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 5.03MB + Index: 0.08MB + Engine InnoDB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 13.17MB + Index: 0.36MB + Engine InnoDB
    wp_posts: Data: 1.28MB + Index: 0.13MB + Engine InnoDB
    wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_usermeta: Data: 0.52MB + Index: 0.63MB + Engine InnoDB
    wp_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + 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_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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_wpmerge_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 21
    acf-field-group: 3
    attachment: 22
    custom_css: 1
    fl-builder-template: 3
    fl-theme-layout: 4
    give_forms: 2
    give_payment: 2
    itsec-dash-card: 8
    itsec-dashboard: 1
    mec_calendars: 2
    mec-events: 3
    nav_menu_item: 24
    nf_sub: 3
    page: 33
    pdfposter: 1
    post: 2
    postman_sent_mail: 250
    product: 3
    revision: 206
    seedprod: 2
    shop_order: 3
    shop_subscription: 6
    um_directory: 1
    um_form: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (26) ###
    
    Gravity Forms: by Gravity Forms – 2.5.11
    Advanced Custom Fields: by Delicious Brains – 5.10.2
    Beaver Builder Plugin (Agency Version): by The Beaver Builder Team – 2.5.0.1
    Beaver Themer: by The Beaver Builder Team – 1.3.3.1
    Code Snippets: by Code Snippets Pro – 2.14.2
    Content Control: by Code Atlantic – 1.1.9
    Custom Post Type UI: by WebDevStudios – 1.9.2
    Give - Donation Plugin: by GiveWP – 2.14.0
    Gravity Forms Stripe Add-On: by Gravity Forms – 4.1
    Import and export users and customers: by codection – 1.18.2
    iThemes Security Pro: by iThemes – 7.0.0
    Modern Events Calendar Lite: by Webnus – 5.22.3
    Ninja Forms: by Saturday Drive – 3.5.8.3
    PDF Embedder: by Lever Technology LLC – 4.6.2
    Post SMTP: by Yehuda Hassine – 2.0.23
    PowerPack Lite for Beaver Builder: by Beaver Addons – 1.2.9.2
    Redirection: by John Godley – 5.1.3
    Ultimate Addons for Beaver Builder - Lite: by Brainstorm Force – 1.5.2
    Ultimate Member: by Ultimate Member – 2.2.5
    Ultimate Member - WooCommerce: by Ultimate Member – 2.2.7
    Waka Bulk Page: by Waka – 1.0.0
    WooCommerce Checkout Field Editor: by WooCommerce – 1.5.38
    WooCommerce Stripe Gateway: by WooCommerce – 5.5.0
    WooCommerce Subscriptions: by WooCommerce – 3.0.15
    WooCommerce: by Automattic – 5.7.1
    WPMerge: by Revmakx – 1.2.8
    
    ### Inactive Plugins (4) ###
    
    Classic Editor: by WordPress Contributors – 1.6.2
    Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd: by SeedProd – 6.6.0
    iThemes Sync: by iThemes – 2.1.9
    User Meta Lite: by User Meta – 2.4
    
    ### Must Use Plugins (4) ###
    
    Liquid Web Managed WordPress: by Liquid Web <support@liquidweb.com> – 1.4
    Liquid Web Managed WordPress Configuration: by Liquid Web – 1.0.0
    Liquid Web Managed WordPress Platform Manager: by Liquid Web – 1.1.0
    Liquid Web Update Manager: by Liquid Web <support@liquidweb.com> – 1.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: –
    
    ### WC Pages ###
    
    Shop base: ❌ Page visibility should be public
    Cart: ❌ Page visibility should be public
    Checkout: #242 - /checkout/
    My account: #243 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Beaver Builder Child Theme
    Version: 1.0
    Author URL: http://www.fastlinemedia.com
    Child Theme: ✔
    Parent Theme Name: Beaver Builder Theme
    Parent Theme Version: 1.7.9
    Parent Theme Author URL: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Subscriptions Live URL: https://ctga.ahn2k5uj-liquidwebsites.com
    Subscription Statuses: trash: 4
    wc-active: 2
    
    WooCommerce Account Connected: ❌ No
    Report Cache Enabled: ✔ Yes
    Cache Update Failures: ✔ 0 failure
    
    ### Store Setup ###
    
    Country / State: United States (US) — California
    
    ### Subscriptions by Payment Gateway ###
    
    Stripe: trash: 1
    wc-active: 1
    
    ### 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
    pre-orders
    
    ### Action Scheduler ###
    
    Complete: 83
    Oldest: 2021-09-28 20:02:01 +0000
    Newest: 2021-09-30 19:57:05 +0000
    
    Pending: 2
    Oldest: 2022-04-01 08:00:00 +0000
    Newest: 2023-07-15 18:39:38 +0000
    
    ### Status report information ###
    
    Generated at: 2021-09-30 15:57:15 -04:00
    
    Plugin Support abwaita a11n

    (@abwaita)

    Hi @mopdog,

    Thanks for sharing the System Report with us.

    Since I can see that you’re using our WooCommerce Subscriptions plugin, we’d want to proceed and take a closer look at the issue.

    Since we’re unable to support paid extensions on the forums, please create a support ticket at WooCommerce.com > My Account > Support. You may need to login to your WooCommerce account before you can access that page.

    We will be able to help you further there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘If already a specific user role; don’t change when product purchased.’ is closed to new replies.