Title: UNPROCESSABLE_ENTITY
Last modified: February 12, 2025

---

# UNPROCESSABLE_ENTITY

 *  Resolved [nmfld](https://wordpress.org/support/users/nmfld/)
 * (@nmfld)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/unprocessable_entity-13/)
 *     ```wp-block-code
       Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The transaction has been refused by the payment processor. Please reach out to the PayPal support for more information. https://developer.paypal.com/api/rest/reference/orders/v2/errors/#TRANSACTION_REFUSED PayPalGateway.php:706 TRANSACTION_REFUSED The request was refusedOrderEndpoint.php:425 Order status changed from Pending payment to Failed.
       ```
   

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

 *  Thread Starter [nmfld](https://wordpress.org/support/users/nmfld/)
 * (@nmfld)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/unprocessable_entity-13/#post-18302102)
 *     ```wp-block-code
       2025-02-12T15:49:21+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders/#######/authorizeResponse Debug ID: 82ce8a2b6e689Response: Array([code] => 422[message] => Unprocessable Entity)
       ```
   
 *     ```wp-block-code
       Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"TRANSACTION_REFUSED","description":"The request was refused"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"82ce8a2b6e689","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#TRANSACTION_REFUSED","rel":"information_link","method":"GET"}]}
       ```
   
 *  Plugin Support [Femi](https://wordpress.org/support/users/femiyb/)
 * (@femiyb)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/unprocessable_entity-13/#post-18302864)
 * Hello [@nmfld](https://wordpress.org/support/users/nmfld/)
 * The (TRANSACTION_REFUSED) error occurs when the bank or PayPal does not accept
   the payment and declines it. So, this is why it does not say “Failed” because
   it did not fail: it was declined. This error response is usually related to the
   funding method on the payer account.
   Choosing a different payment source within
   the PayPal account should resolve the error. Since the PayPal API refuses the
   transaction, you can ask the customer to pay with a different method within PayPal.
 * If you want to have this error further investigated, you can still ask [PayPal Merchant Technical Support](https://www.paypal-techsupport.com/s/contactsupport)
   to take a look (be sure to provide them the Transaction ID and/or the Debug ID.
 * Regards,
   Femi.
 *  [detailscloud](https://wordpress.org/support/users/detailscloud/)
 * (@detailscloud)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/unprocessable_entity-13/#post-18305271)
 * I am facing the same problem and the problem did not exist before, and I have
   the plugins activated on more than one site and each site has a different PayPal
   account, after the latest updates the error always appears:
   Failed to process
   the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY]
   PayPal rejected the payment. Please reach out to the PayPal support for more 
   information. [https://developer.paypal.com/api/rest/reference/orders/v2/errors/#PAYMENT_DENIED](https://developer.paypal.com/api/rest/reference/orders/v2/errors/#PAYMENT_DENIED)
 *  Plugin Support [Krystian Syde](https://wordpress.org/support/users/inpsydekrystian/)
 * (@inpsydekrystian)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/unprocessable_entity-13/#post-18312972)
 * Hello [@nmfld](https://wordpress.org/support/users/nmfld/)
 * Since we have not received any further communication from you, we are assuming
   that your issue has been resolved. Therefore, we mark this thread as resolved.
   If you still have any questions or if a new problem arises, don’t hesitate to
   open a new thread.
 * Hello [@detailscloud](https://wordpress.org/support/users/detailscloud/)
 * `**PAYMENT_DENIED**` error is returned directly from PayPal. In most cases, this
   indicates that the transaction was declined by either **the bank or PayPal**,
   rather than an issue with the plugin itself. For further investigation, I recommend
   reaching out to [PayPal Merchant Technical Support](https://www.paypal-techsupport.com/s/contactsupport),
   as they can check the transaction details and determine why it was denied.
 * Kind regards,
   Krystian

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

The topic ‘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
 * 4 participants
 * Last reply from: [Krystian Syde](https://wordpress.org/support/users/inpsydekrystian/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/unprocessable_entity-13/#post-18312972)
 * Status: resolved