Title: OrderEndpoint.php:239
Last modified: September 21, 2025

---

# OrderEndpoint.php:239

 *  Resolved [anneng1](https://wordpress.org/support/users/anneng1/)
 * (@anneng1)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/orderendpoint-php239/)
 * I’ve been getting a lot of php:239 errors lately.
 * Payment provider declined the payment, please use a different payment method.
   OrderEndpoint.php:239 Order status changed from Pending payment to Failed.
 * Yes, I’ve seen a few others reporting the same thing. It’s probably a bug.

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

 *  Plugin Support [Syde Jamie](https://wordpress.org/support/users/jamieong/)
 * (@jamieong)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/orderendpoint-php239/#post-18650647)
 * Hi [@anneng1](https://wordpress.org/support/users/anneng1/) ,
 * Thank you for reaching out to us, we are here to help.
 * We have received reports of carding attacks, however it seemed to be a coincidence
   with the latest version upgrade.
 * Regarding the possible card attacks, we also recommend [reCaptcha for WooCommerce](https://woocommerce.com/products/recaptcha-for-woocommerce/)
   to prevent these card testing attacks from creating accounts and orders. Our 
   [WooPayments](https://woocommerce.com/products/woopayments/) solution has some
   documentation available on preventingt carding attacks, and this is valid for
   other payment gateways as well, including PayPal.
 * The documentation can be found here: [https://woocommerce.com/document/how-do-i-prevent-and-respond-to-card-testing-attacks/#preventing-card-testing](https://woocommerce.com/document/how-do-i-prevent-and-respond-to-card-testing-attacks/#preventing-card-testing)
 * Let us know how it goes.
 * Best Regards,
   Jamie
 *  Moderator [Support Moderator](https://wordpress.org/support/users/moderator/)
 * (@moderator)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/orderendpoint-php239/#post-18658867)
 * If you need support and you are not the original person reporting their problem
   then per the forum guidelines please start your own topic.
 * [https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too](https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too)
 * You can do so here.
 * [https://wordpress.org/support/plugin/woocommerce-paypal-payments/](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * The “I have this problem too” replies have been removed. Please start your own
   topic.

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

The topic ‘OrderEndpoint.php:239’ 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
 * 6 participants
 * Last reply from: [Support Moderator](https://wordpress.org/support/users/moderator/)
 * Last activity: [6 months, 2 weeks ago](https://wordpress.org/support/topic/orderendpoint-php239/#post-18658867)
 * Status: resolved