Title: Payment declined [UNPROCESSABLE_ENTITY]
Last modified: September 27, 2022

---

# Payment declined [UNPROCESSABLE_ENTITY]

 *  Resolved [Hasi Weragala](https://wordpress.org/support/users/hasinthawk/)
 * (@hasinthawk)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/payment-declined-unprocessable_entity/)
 * Hello.
 * We are using the WooCommerce PayPal Payments and Woocommerce Payments plugins
   to accept payments from our clients in [https://vytal360.com/](https://vytal360.com/)
   website.
 * However a certain orders has failed throwing the following error
 * ————————————————————————————— Failed to process the payment. Please try again
   or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could 
   not be performed, semantically incorrect, or failed business validation. [https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED](https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED)
   CreditCardGateway.php:405
    —————————————————————————————
 * Please can you provide us some insights on this error.? I have attached the order
   details and system information herewith. Best Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpayment-declined-unprocessable_entity%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/payment-declined-unprocessable_entity/#post-16052401)
 * Hi [@hasinthawk](https://wordpress.org/support/users/hasinthawk/),
 * `PAYMENT_DENIED` means that PayPal rejected the payment.
    This could be due to
   a variety of reasons like suspected fraud, for example. The best way to figure
   this out is to reach out to the [PayPal merchant support](https://www.paypal.com/smarthelp/contact-us/)
   with a copy of your PayPal Payments log files. We are working on displaying a
   more user-friendly error message in the Checkout, but that’s all that could be
   done from the plugin perspective.
 * Kind regards,
    Niklas
 *  Thread Starter [Hasi Weragala](https://wordpress.org/support/users/hasinthawk/)
 * (@hasinthawk)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/payment-declined-unprocessable_entity/#post-16053305)
 * Hi Niklas
 * Thanks for the reponse
 * How can I get the Paypal Payment log files?
 * Best
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/payment-declined-unprocessable_entity/#post-16056000)
 * Hi [@hasinthawk](https://wordpress.org/support/users/hasinthawk/),
 * The `Logging` feature must be enabled in the plugin settings:
    [https://woocommerce.com/document/woocommerce-paypal-payments/#troubleshooting](https://woocommerce.com/document/woocommerce-paypal-payments/#troubleshooting)
   Once this checkbox is set, every API request from the plugin will be logged with
   more details that are relevant for the [PayPal merchant support](https://www.paypal.com/smarthelp/contact-us/).
   Nothing too sensitive is logged, but but whenever a buyer attempts to make a 
   payment, there will be a log file saved here: WooCommerce > Status > Logs > select“
   woocommerce-paypal-payments-[…]” in the dropdown and click on view. There is 
   also a link from the plugin settings to get to the logs. I hope this helps!
 * Kind regards,
    Niklas
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/payment-declined-unprocessable_entity/#post-16087147)
 * Hello,
 * It has been quite some time since our last communication, so we will mark this
   thread as resolved. Please open a new thread if you are still facing issues or
   have questions that you need us to answer.
 * Kind regards,
    Andreas

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

The topic ‘Payment declined [UNPROCESSABLE_ENTITY]’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/payment-declined-unprocessable_entity/#post-16087147)
 * Status: resolved