checkout working for admin but not for subscribers
-
im creating a membership site on woocommerce, which uses these plugins.
Checkout Field Editor for WooCommerce
Indeed Ultimate Membership Pro
Subscriptions For WooCommerce PRO
WooCommerce Stripe Gatewaythe issue is when i looged in as admin, the checkout works smoothly, but when i logged in as subscriber then at checkout page, the stripe payment and total price section are keep on loading.
plz guide me how to solve this issue.
thanks in advance
-
Hello,
This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce and Stripe
- Test to see if the issue has been resolved
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
but if it is a conflict then how come its working when admin is logged in?
Hi there,
Thanks for getting back to us.
It could be due to a cache plugin, or a membership plugin you are using, which might be adding some scripts for non-logged-in users.
Can you please try to perform conflict testing, as suggested by my colleague earlier, and see if it helps?
Best,
but i’m talking about logged-in users,
on my site only members have access to the products.
now i’m geting this error on checkout
“SyntaxError: Unexpected token < in JSON at position 0”in the log i get this
====Stripe Version: 6.4.0==== ====Start Log==== customers/cus_LjGuBfUuIDMiJ5/sources request: Array ( [limit] => 100 ) ====End Log====
- This reply was modified 2 years, 6 months ago by VR Webs.
Hello,
but i’m talking about logged-in users, on my site only members have access to the products.
A misbehaving plugin can cause unexpected issues on other plugins. So, when something isn’t working as it should, the first step for troubleshooting is usually the conflict test. To perform tests without affecting your live site, you can use a staging site (your host might have that feature, but you can create it with WP Staging as an alternative).
now i’m geting this error on checkout
So we can have a better understanding of your setup, can you please share your System status report? You can find it in WooCommerce > Status > Get system report > Copy for support and then paste it here.
Best,
here it is
### WordPress Environment ### WC Version: 6.5.1 REST API Version: ? 6.5.1 WC Blocks Version: ? 7.4.3 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: ? 5.9.3 - There is a newer version of WordPress available (6.0) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.29 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.6.51-cll-lve Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.5.1 WC Database Prefix: wp_ Total Database Size: 11.19MB Database Data Size: 8.90MB Database Index Size: 2.29MB wp_woocommerce_sessions: Data: 0.02MB + 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: 1.50MB + Index: 0.27MB + 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.11MB + Index: 0.09MB + Engine InnoDB wp_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_cpappbk_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cpappbk_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ihc_cheat_off: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_dashboard_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_debug_payments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_download_monitor_limit: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_gift_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_invitation_codes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_memberships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_memberships_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_ihc_notifications: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_ihc_notifications_logs: Data: 0.13MB + Index: 0.00MB + Engine MyISAM wp_ihc_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_orders_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_ihc_reason_for_cancel_delete_levels: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_security_login: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_taxes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_user_levels: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_user_logs: Data: 0.09MB + Index: 0.01MB + Engine MyISAM wp_ihc_user_sites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_user_subscriptions_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_ihc_woo_products: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_woo_product_level_relations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_indeed_members_payments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 4.14MB + Index: 0.16MB + Engine InnoDB wp_postmeta: Data: 0.42MB + Index: 0.41MB + Engine InnoDB wp_posts: Data: 1.45MB + Index: 0.06MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + 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_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + 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.02MB + 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_attributes_lookup: Data: 0.02MB + Index: 0.03MB + 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 ### Post Type Counts ### attachment: 69 custom_css: 1 customize_changeset: 4 et_body_layout: 1 et_pb_layout: 4 et_template: 2 nav_menu_item: 10 page: 24 popup: 2 popup_theme: 8 post: 2 product: 54 product_variation: 62 revision: 178 shop_order: 5 wp_global_styles: 1 wps_subscriptions: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Accelerated Mobile Pages: by Ahmed Kaludi Mohammed Kaludi – 1.0.77.43 Appointment Hour Booking: by CodePeople – 1.3.57 Classic Editor: by WordPress Contributors – 1.6.2 Code Snippets: by Code Snippets Pro – 3.1.0 Creative Mail by Constant Contact: by Constant Contact – 1.5.3 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.4 Indeed Ultimate Membership Pro: by WPIndeed Development – 10.5 Insert Headers and Footers: by WPBeginner – 1.6.2 Popup Maker: by Popup Maker – 1.16.7 Really Simple SSL: by Really Simple Plugins – 5.3.2 SMNTCS Quantity Increment Buttons for WooCommerce: by Niels Lange – 1.26 Subscriptions For WooCommerce: by WP Swings – 1.4.1 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.1 WooCommerce Stripe Gateway: by WooCommerce – 6.4.0 WooCommerce Shipping & Tax: by WooCommerce – 1.25.28 Subscriptions For WooCommerce Pro: by WP Swings – 2.1.1 WooCommerce: by Automattic – 6.5.1 WP Add Mime Types: by Kimiya Kitani – 3.0.2 ### Inactive Plugins (7) ### Akismet Anti-Spam: by Automattic – 4.2.4 All-in-One WP Migration: by ServMask – 7.61 All-in-One WP Migration Unlimited Extension: by ServMask – 2.42 Flat Preloader: by Thien Nguyen – 1.5.5 Hello Dolly: by Matt Mullenweg – 1.7.2 Jetpack: by Automattic – 10.9.1 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.2 ### Must Use Plugins (1) ### WordPress automation by Installatron: by – ### 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: – ### WC Pages ### Shop base: #99 - /shop/ Cart: #100 - /cart/ Checkout: #101 - /checkout/ My account: #102 - /account/ Terms and conditions: ? Page not set ### Theme ### Name: Divi Version: 4.17.3 Author URL: https://www.elegantthemes.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: – ### Action Scheduler ### Complete: 823 Oldest: 2022-04-28 20:05:18 +0000 Newest: 2022-05-25 08:20:26 +0000 Pending: 6 Oldest: 2022-05-25 09:20:26 +0000 Newest: 2022-05-26 05:59:22 +0000 ### Status report information ### Generated at: 2022-05-25 08:54:09 +00:00
Hi @net4earning!
Thank you for sending the system status.
I can see that you have an outdated WordPress version; we recommend you update to the latest version.
Since the checkout is working when logged as an admin, but it is not working when logged as a subscriber, this issue could be related to the subscription feature from the membership plugins you are using.
If you want to be sure what is causing the issue and if the checkout page is working correctly, you could do the following;
- 1. Create a staging site using the WP Staging plugin to make tests without affecting your live site.
- 2. In your staging site, disable both subscription plugins (Indeed Ultimate Membership Pro and Subscriptions For WooCommerce PRO), go to the checkout page, and check if the issue persists.
- 3. If it continues, switch your theme back to Storefront, disabling all plugins except WooCommerce and Stripe, and then check again.
If that help to solve it, the issue is related to one of those plugins.
If that solves it, reactivate the theme first and check again. Then, reactivate your other plugins, testing after each, until you find the one causing conflict.
Let us know how it goes for you!
if i disable the members plugin, then payment goes thru
Hi @net4earning
if i disable the members plugin, then payment goes thru
It is great that the culprit could be singled out.
Your next ideal step would be contacting the
Indeed Ultimate Membership Pro: by WPIndeed Development – 10.5
plugin’s support team or author to check the issue closely and try to provide you a solution. You can submit a request at https://codecanyon.net/item/ultimate-membership-pro-wordpress-plugin/12159253/supportI hope this points you in the right direction.
As further assistance is to be provided by the Indeed Ultimate Membership Pro team, I’ll go ahead and mark this thread as resolved.
Feel free to create a new topic if you have other questions.
- The topic ‘checkout working for admin but not for subscribers’ is closed to new replies.