Title: CANNOT_BE_ZERO_OR_NEGATIVE
Last modified: May 6, 2022

---

# CANNOT_BE_ZERO_OR_NEGATIVE

 *  Resolved [ekrem1975](https://wordpress.org/support/users/ekrem1975/)
 * (@ekrem1975)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/cannot_be_zero_or_negative/)
 * When customer try to pay with a coupon.
    For example 2,50€ with a coupon an the
   price is at 0,00€ after they used the coupon.
 * They get the following error
    CANNOT_BE_ZERO_OR_NEGATIVE Must be greater than
   zero. If currency supports decimals, only two decimal place precision ist supported.
 * It doesn’t matter if they choose PayPal,Credit Card, Debit Card…..
    -  This topic was modified 4 years, 1 month ago by [ekrem1975](https://wordpress.org/support/users/ekrem1975/).

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

 *  [efox](https://wordpress.org/support/users/foxylearning/)
 * (@foxylearning)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/cannot_be_zero_or_negative/#post-15625458)
 * I believe I’m experiencing the same (or related) issue. I had a user who used
   a gift certificate/coupon code to have a subtotal of $0.00, but had $1.30 in 
   sales tax due. Not only did this plugin prevent the customer from checking out
   via PayPal (they receive this error message: “Your card number is incomplete,”
   even though they entered the complete card number correctly), it even caused 
   an error when trying to checkout via credit card (Stripe). I had to disable this
   plugin to allow the customer to checkout via card/Stripe (it worked fine after
   disabling PayPal Payments).
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/cannot_be_zero_or_negative/#post-15627954)
 * Hi [@ekrem1975](https://wordpress.org/support/users/ekrem1975/),
 * Are you using the latest plugin version?
    In update 1.7.1, the button render 
   logic for free products has been adjusted to no longer display the buttons/gateway
   for free products as PayPal can’t process zero-sum checkouts. So with the latest
   version, the smart buttons should be hidden when there’s only a free product 
   in the cart and the gateway would also be disabled on the Checkout page. This
   new behavior came with an issue similar to what that [@foxylearning](https://wordpress.org/support/users/foxylearning/)
   describes though, so despite the gateway being re-enabled, the smart buttons 
   remained hidden even when taxes or shipping were added to the total. This issue
   has been addressed for the next update and you can give [the change](https://github.com/woocommerce/woocommerce-paypal-payments/pull/607)
   a try with [this test package](https://drive.google.com/uc?export=download&id=1Hv9UADygkkpST2Ke1znqZSIbhiYDNzE9)
   if you can reproduce the error and are interested in providing feedback. Thanks!
 * Kind regards,
    Niklas
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [4 years ago](https://wordpress.org/support/topic/cannot_be_zero_or_negative/#post-15715473)
 * Hello,
 * Since we have not heard back from you for over a month, we will mark this thread
   as resolved. Do not hesitate to open a new thread if you still need our support
   on this or any other issue.
 * Kind regards,
    Joost

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

The topic ‘CANNOT_BE_ZERO_OR_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/)

 * 3 replies
 * 4 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/cannot_be_zero_or_negative/#post-15715473)
 * Status: resolved