Title: Failed Order Error: [UNPROCESSABLE_ENTITY] CANNOT_BE_NEGATIVE
Last modified: March 17, 2022

---

# Failed Order Error: [UNPROCESSABLE_ENTITY] CANNOT_BE_NEGATIVE

 *  Resolved [renji7](https://wordpress.org/support/users/renji7/)
 * (@renji7)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/failed-order-error-unprocessable_entity-cannot_be_negative/)
 * Hi there! So my client had a customer who kept getting this error during checkout
   using a card (and they tried twice, using two different cards):
 * [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically
   incorrect, or failed business validation. [https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_BE_NEGATIVE](https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_BE_NEGATIVE)
 * Other customer orders around the same time using cards seemed to go through and
   process just fine though. Any ideas on what may have triggered this and how to
   resolve and prevent this in the future?
 * Thanks for any guidance you can provide. 🙂

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

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/failed-order-error-unprocessable_entity-cannot_be_negative/#post-15484475)
 * Hi [@renji7](https://wordpress.org/support/users/renji7/),
 * Has there been a discount applied to this order?
    If yes, are you using any discount
   plugins beyond the regular WooCommerce coupon codes? Could you maybe also share
   a link to your site?
 * We have seen an error like this where the discounted value ended up being submitted
   as the order total which could happen with certain discount configurations but
   there have been workarounds by adapting certain settings, depending on the pluginused.
   
   Thanks!
 * Kind regards,
    Niklas
 *  [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/failed-order-error-unprocessable_entity-cannot_be_negative/#post-15490076)
 * Hi [@niklasinpsyde](https://wordpress.org/support/users/niklasinpsyde/),
 * I’m facing the same issue. Do we have any updates on this?
 * In my case, the subtotal is $10, a fee is added which -$2 (to act as discount)
   and total order value is $8. This order fails.
 * Most 3rd party plugins use “add_fee” API to add this discount since woocommerce
   does not offer any other way to add discounts.
 *  Thread Starter [renji7](https://wordpress.org/support/users/renji7/)
 * (@renji7)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/failed-order-error-unprocessable_entity-cannot_be_negative/#post-15500821)
 * Hi [@niklasinpsyde](https://wordpress.org/support/users/niklasinpsyde/) ,
 * There were 3 failed orders. I’m not sure if all of them had the same error code
   or not (only got 1 customer screenshot), but only one of those 3 failed orders
   had a discounted item in the cart– a product bundle discount using the plugin“
   [WPC Product Bundles for WooCommerce (Premium)](https://wpclever.net/downloads/product-bundles/)”
   by WPClever.
 * My client has decided to completely move away from the PayPal plugin for now 
   because it kept having issues processing payments, but if there’s an easy settings
   workaround for this error, I’d love to know some more info in case it’s a simple
   fix.
 * If it’s not, I still really appreciate you getting back to me with what you have
   so far. Still helpful info. 🙂 Thank you!
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [4 years ago](https://wordpress.org/support/topic/failed-order-error-unprocessable_entity-cannot_be_negative/#post-15621920)
 * Hello,
 * this issue is related to certain 3rd party plugins marking discounts as a negative
   valued fee. Our plugin currently does not allow this and we are working on getting
   this resolved. If you want more details on this issue or the progress, you should
   follow our GitHub issue [here](https://github.com/woocommerce/woocommerce-paypal-payments/issues/548).
 * Since all progress will be updated in the provided link, I will mark this thread
   as resolved. If you have other issues, please open a new thread.
 * Kind regards,
    Joost

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

The topic ‘Failed Order Error: [UNPROCESSABLE_ENTITY] CANNOT_BE_NEGATIVE’ is closed
to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

## Tags

 * [discount](https://wordpress.org/support/topic-tag/discount/)
 * [product bundle](https://wordpress.org/support/topic-tag/product-bundle/)

 * 4 replies
 * 4 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/failed-order-error-unprocessable_entity-cannot_be_negative/#post-15621920)
 * Status: resolved