Title: Discounts error
Last modified: August 25, 2025

---

# Discounts error

 *  Resolved [danvoz](https://wordpress.org/support/users/danvoz/)
 * (@danvoz)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/discounts-error/)
 * Hello, recently I posted this query: [https://wordpress.org/support/topic/customer-order-errors/](https://wordpress.org/support/topic/customer-order-errors/)
   
   Now, with a new order, the discount error happened again. One of items purchased
   was fully discounted altrough my eshop does not offer any discount codes.What
   was similar with these two orders:– cash on delivery was selected as the transport
   mode– the most expensive item was discounted.Please, can you help me find a solution?
   Would you recommend using a command which will block any discounts so it will
   not happen again?Seems like more people are facing this issue: [https://wordpress.org/support/topic/random-discounts-applied-despite-coupons-being-disabled/#post-18612331](https://wordpress.org/support/topic/random-discounts-applied-despite-coupons-being-disabled/#post-18612331)
   Thanks a lot for any help…
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdiscounts-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/discounts-error/#post-18612367)
 * Hi there!
 * Thank you for bringing this to our attention. To assist you further, could you
   please share the system status report again?
 * Also, does this happen with a specific product, or is it always the most expensive
   product that gets discounted? Are you able to replicate the issue on your site?
   Have you tried placing some test orders using random coupons?
 * Finally, could you please try using the same coupon code that was applied in 
   that order and let us know if it works for you?
 *  Thread Starter [danvoz](https://wordpress.org/support/users/danvoz/)
 * (@danvoz)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/discounts-error/#post-18612387)
 * Hi [@shahzeenfarooq](https://wordpress.org/support/users/shahzeenfarooq/) 
   Thanks
   for reaching out.I was not able to replicate this issue, now I will try some 
   test orders and see.Each item is one of a kind — once someone buys it, it’s sold
   out.I **never **used coupons, I don’t want to and they are disabled.Here is the
   system report: [https://pastebin.com/unVgGdYQ](https://pastebin.com/unVgGdYQ)
 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/discounts-error/#post-18612424)
 * Hi there!
 * Thank you for sharing more details about the issue. I can see you are using the
   plugin **Payment Gateway Based Fees and Discounts for WooCommerce**. This plugin
   allows discounts to be applied based on the payment gateway the customer chooses.
 * By default, if a coupon is used for a product, it will appear in the **Order 
   Summary**. I checked your order details page screenshot you shared in previous
   ticket, and since no coupon code is appearing, this indicates that the discount
   was applied either through the plugin or via custom code.
 * To assist you further, could you please confirm if the new orders you are receiving
   now show a coupon code under the discount? You can check this by going to **WooCommerce
   → Orders → Edit Order** — if the discount is from a coupon, the coupon code will
   be listed there. If no coupon code is showing, it likely means a custom code 
   or a plugin on your site is applying the discount.
 * For testing purposes, could you please try deactivating the **Payment Gateway
   Based Fees and Discounts for WooCommerce** plugin, and then test with another
   payment gateway such as [Stripe for WooCommerce](https://wordpress.org/plugins/woocommerce-gateway-stripe/),
   to see if the issue still occurs?
 * I also noticed you are using the **Code Snippets** plugin. Could you please let
   us know exactly what custom code you are running there? The more information 
   we have, the more accurately we can assist you.
 *  Plugin Support [Chris Moreira – a11n](https://wordpress.org/support/users/chrism245/)
 * (@chrism245)
 * [9 months ago](https://wordpress.org/support/topic/discounts-error/#post-18639277)
 * I’m going to mark this as resolved, as we haven’t heard back from you in a while.
   Please open a new thread if you need further assistance.
 * We’d really appreciate if you could take a moment to leave us a review: [https://wordpress.org/support/plugin/woocommerce/reviews/](https://wordpress.org/support/plugin/woocommerce/reviews/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Discounts error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Chris Moreira – a11n](https://wordpress.org/support/users/chrism245/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/discounts-error/#post-18639277)
 * Status: resolved