• Resolved wescallaghan

    (@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?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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:

    1. Expired Coupon Codes: Please ensure that the coupon code “discount_inital” is not an old or expired coupon that hasn’t been properly deactivated.
    2. 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.
    3. 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.
    4. 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
    5. 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.

    Hi! It’s an old bug and it’s not fixed yet. 

    I personally encountered it 3 years ago and opened a ticket (for all the woocommerce devs the ticket number is #4629453).

    They also told me that they were able to reproduce the issue (on the 2021/12/21) but then they closed the ticket and gave me a 30% discount code for their products.

    The only way to avoid this bug is to negate the checkout if you detect a “discount_initial” coupon.

    Carl V

    (@carlos-amigos)

    @wescallaghan I am experiencing the same thing on one of my sites. Did you find a fix for this or get this ticket resolved?

    Do you have the following plugins? InfusedWoo or ShipStation?

    • This reply was modified 1 year ago by Carl V.

    Hello @carlos-amigos,

    As this thread was already marked as resolved, I suggest that you start a new thread with your case, this way, you’re going to get dedicated support in troubleshooting the issue from your end.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mystery “discount_initial” used on Woocommerce subscription initial order’ is closed to new replies.