Hi @wescallaghan
I am using woocommerce and woocommerce subscriptions.
We have had a customer checkout on our site using the coupon code “discount_inital” when this code does NOT exist in the sites coupon code register. It has given them 27.29% off their order. What has caused this to happen and how can it be stopped?
From what I understand, you’re experiencing an issue with WooCommerce and WooCommerce Subscriptions where a customer was able to use a non-existent coupon code and received a discount on their order.
This is certainly unusual, as WooCommerce should only apply discounts for valid coupon codes. Here are a few potential explanations and solutions:
- Expired Coupon Codes: Please ensure that the coupon code “discount_inital” is not an old or expired coupon that hasn’t been properly deactivated.
- Database Issue: There might be an issue with your database where the coupon code was deleted from the WordPress admin panel but still exists in the database. You might need to manually check your database or get a developer to do this for you.
- Third-Party Plugins: If you’re using any third-party plugins for coupon codes, they might interfere with WooCommerce’s default functionality. Try disabling them temporarily to see if the issue resolves.
- Theme Conflict: Occasionally, a theme can cause conflicts. To rule this out, briefly switch to a default WordPress theme like Storefront and see if the problem occurs again. Here’s a helpful guide on how to test for conflicts: ?? How to Test for Plugin and Theme Conflicts
- Software Updates: Ensure that your WordPress, WooCommerce, and WooCommerce Subscriptions are all updated to their latest versions.
?? Just a quick reminder: Before you make any changes, we strongly recommend that you create a backup of your full site and database. This is a crucial step to ensure that in case anything goes wrong, you can easily restore your site to its previous, functioning state.
In case none of the above steps work, could you send us a copy of your site’s System Status? This will give us a clearer picture of your site’s setup and help us pinpoint the problem. You can find it via WooCommerce > Status
. Select Get system report
and then Copy for support
.
Additionally, could you also provide us with the fatal error logs (if any) under WooCommerce > Status > Logs
.
Once you have that, please paste it inside a Code block in your reply, or use https://pastebin.com/ to paste it and share the link with us.
Thank you for your patience and cooperation in this matter. I’m looking forward to your response so we can solve this issue for you.