• Resolved renji7

    (@renji7)


    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

    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

    (@niklasinpsyde)

    Hi @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

    Hi @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

    (@renji7)

    Hi @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)” 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

    (@joostvandevijver)

    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.

    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.