Issue with WooCommerce Memberships discounts
-
Hi
Blocks 4.6.0 Woocommerce 5.0.0 WooCommerce Memberships 1.21.3
There is an issue with Woocommerce Memberships plugin.
The discount is displayed correctly (although sometimes gets removed when address entered). refreshing page, discounts re-appear. Checkout total even when correctly displayed, payment made, via stripe, the full payment is taken. The following invoice page shows no discounts and full price.
Hope this helps?
Had to go back to using the visually boring woocommerce standard checkout page for now, which is working okay!
- This topic was modified 3 years, 8 months ago by yodacoding.
-
First, could you please send me a copy of your site’s system status report? You can find it under WooCommerce > Status in the dashboard. Click “Get system report” and then the “Copy for support” button. Once you’ve done that, paste it into your reply.
Second, can you clarify exactly how the discount is being applied? Is it a coupon? A discount being applied via the membership?
Once we know more, we can test ourselves to see if this is a bug. Thanks!
Hi Adam
Woocommerce status report below… I’m not sure if it will help any as I’ve had to revert to the standard woocommerce checkout shortcode.
The discount is applied using the Woocommerce Memberships plugin (10% discount)
Hope this helps?
### WordPress Environment ### WordPress address (URL): https://lincolnshireauthors.co.uk Site address (URL): https://lincolnshireauthors.co.uk WC Version: 5.1.0 REST API Version: ? 5.1.0 WC Blocks Version: ? 4.6.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.0.2 Log Directory Writable: ? WP Version: 5.7 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.14 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 2500 cURL Version: 7.65.0 OpenSSL/1.0.2k-fips SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.14-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: 5.1.0 WC Database Prefix: 8e_ Total Database Size: 9.35MB Database Data Size: 7.04MB Database Index Size: 2.31MB 8e_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.17MB + Engine InnoDB 8e_woocommerce_order_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.05MB + Engine InnoDB 8e_woocommerce_tax_rates: Data: 0.02MB + Index: 0.08MB + Engine InnoDB 8e_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_actionscheduler_actions: Data: 0.11MB + Index: 0.11MB + Engine InnoDB 8e_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_actionscheduler_logs: Data: 0.09MB + Index: 0.09MB + Engine InnoDB 8e_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB 8e_la_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_options: Data: 2.02MB + Index: 0.08MB + Engine InnoDB 8e_postmeta: Data: 1.48MB + Index: 0.22MB + Engine InnoDB 8e_posts: Data: 2.02MB + Index: 0.06MB + Engine InnoDB 8e_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB 8e_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_wc_customer_lookup: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_wc_download_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_wc_order_product_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB 8e_wc_order_stats: Data: 0.02MB + Index: 0.09MB + Engine InnoDB 8e_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB 8e_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_wc_webhooks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_wpvivid_scan_result: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_wpvivid_unused_uploads_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 8e_yoast_indexable: Data: 0.17MB + Index: 0.08MB + Engine InnoDB 8e_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 8e_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 8e_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 8e_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 77 custom_css: 3 customize_changeset: 1 et_body_layout: 1 et_footer_layout: 2 et_header_layout: 4 et_pb_layout: 6 et_template: 10 et_theme_builder: 2 is_search_form: 1 nav_menu_item: 9 oembed_cache: 6 page: 10 post: 7 product: 5 revision: 55 shop_order: 18 um_directory: 1 um_form: 3 wc_membership_plan: 1 wc_user_membership: 9 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (10) ### ManageWP - Worker: by GoDaddy – 4.9.8 Ivory Search: by Ivory Search – 4.5.11 Jetpack by WordPress.com: by Automattic – 9.5 Kadence WooCommerce Email Designer: by Kadence WP – 1.4.7 WooCommerce Blocks: by Automattic – 4.6.0 WooCommerce Stripe Gateway: by WooCommerce – 4.9.0 WooCommerce Memberships: by SkyVerge – 1.21.3 WooCommerce Menu Cart: by Jeremiah Prummer Ewout Fernhout – 2.9.7 WooCommerce: by Automattic – 5.1.0 Yoast SEO: by Team Yoast – 15.9.2 ### Inactive Plugins (0) ### ### Must Use Plugins (2) ### ManageWP - Worker Loader: by GoDaddy – 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: – ### WC Pages ### Shop base: #454 - / Basket: #608 - /cart/ Checkout: #609 - /checkout/ My account: #1207 - /account/ Terms and conditions: #1670 - /terms-conditions/ ### Theme ### Name: Divi Child Theme Version: 1.0.0 Author URL: Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 4.9.1 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? ### Templates ### Overrides: – ### Memberships ### Restriction mode:: Hide content only Public content:: – Excluded from discounts:: – Membership plans:: 1 Membership:: Members: 9Access method: Product(s) purchaseAccess length: Specific length (3 years) ### Action Scheduler ### Complete: 141 Oldest: 2021-02-08 15:21:38 +0000 Newest: 2021-03-11 12:07:23 +0000 Pending: 17 Oldest: 2021-03-12 12:07:23 +0000 Newest: 2027-02-24 10:25:47 +0000 ### Status report information ### Generated at: 2021-03-11 15:43:33 +00:00
Hi there!
Thanks for the update.
OK so I have tested this on my site and I couldn’t reproduce your issue. I have added a Purchasing discount for a membership plan like this:
Link to image: https://d.pr/i/HjRjdWPlease make sure that the Memebership’s purchasing discount is
Active
on your end.I used the Block Checkout, paid with Stripe and I managed to get the discounted price.
Link to image: https://d.pr/i/dhIyy8My site is running Blocks version 4.7.0 and Memberships Version 1.21.5. Could you please update to the latest release and then give this another try?
If this doesn’t work I would recommend performing a conflict test with only WooCommerce, Blocks, and Memberships active while you use a default theme. Here you can find instructions to perform a theme/plugin conflict.
I hope this points you in the right direction and keep us posted, we’ll be glad to help you!
Cheers!
Hi
Okay created a test site using localwp with the minimal plugins as suggested. Updated to latest versions. If I test purchase as admin all discounts applied
okay.However… if I register as a new user, go to the shop, place the discounted items in my cart.
click proceed to checkout. The checkout price is correct with the discount applied correctly.
I start to enter my name, address… once I start to enter the city… the discount automatically reverts to the full price!
If I continue and enter my address, refresh the screen, the discount price returns… I complete checkout, but I’m charged the full price with the invoice showing no discount?
I’m using the apply discount when purchasing memberships option if that helps
Thanks
- The topic ‘Issue with WooCommerce Memberships discounts’ is closed to new replies.