Title: Various error payments
Last modified: September 12, 2022

---

# Various error payments

 *  Resolved [hetaweb](https://wordpress.org/support/users/hetaweb/)
 * (@hetaweb)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/various-error-payments/)
 * Hello,
    my website is hosted on Siteground and i use SG optimizer and WP Rocket
   togheter. I have updated the plugin to latest version but some issues still remain:
 * “Payment provider declined the payment, please use a different payment method.
   OrderEndpoint.php:339”
 * “Could not retrieve order. OrderEndpoint.php:459”
 * “`ailed 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 CreditCardGateway.php:405 [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
   OrderEndpoint.php:313`”
 * could you help me figure out how to fix it?

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

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/various-error-payments/#post-16000875)
 * Hi [@hetaweb](https://wordpress.org/support/users/hetaweb/),
 * The compatibility with the SG Optimizer was improved in the latest PayPal Payments
   update 1.9.3. Caching can potentially negatively impact PayPal Payments and either
   the PayPal Payments [scripts should be excluded](https://woocommerce.com/document/woocommerce-paypal-payments/#faq-paypal-smart-buttons-not-loading)
   or caching be disabled on pages where the smart buttons are loaded.
 * `PAYMENT_DENIED` is not an error the plugin can fix. This means the payment was
   denied either by PayPal or the bank/card provider. You can reach out to the PayPal
   merchant support for questions regarding (declined) payments, but PayPal usually
   doesn’t provide too many details.
 * The error “Could not retrieve order.” mostly occurs when buyers use an unsupported
   browser for the payment. The team is working to improve the compatibility with
   older browsers, but PayPal Payments requires a fairly modern browser and JavaScript
   to work correctly.
    Can you find out which browsers were used during these payments?
   There is a [PayPal Payments test version here](https://drive.google.com/uc?export=download&id=1Need7wOcxzcb6vmC1o5pQvyKiQJZG36l)
   which is supposed to improve compatibility with older browsers in case you can
   reproduce the error or would like to give it a try and provide feedback. Thanks!
 * Kind regards,
    Niklas
 *  Thread Starter [hetaweb](https://wordpress.org/support/users/hetaweb/)
 * (@hetaweb)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/various-error-payments/#post-16000912)
 * Thanks a lot for your kind explanation!

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

The topic ‘Various error payments’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [hetaweb](https://wordpress.org/support/users/hetaweb/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/various-error-payments/#post-16000912)
 * Status: resolved