API Endpoint Error
-
Hi,
I’m receiving errors regularly were payments aren’t going through and it’s resultng in lost custom. I’ve done some digging in the logs and found the following which looks to be related. How can this be fixed?
2021-11-04T19:25:07+00:00 CRITICAL Uncaught TypeError: Argument 3 passed to WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint::request_response_string() must be of the type array, object given, called in /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-requesttrait.php on line 40 and defined in /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-requesttrait.php:52 Stack trace: #0 /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-requesttrait.php(40): WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint->request_response_string('https://api.pay...', Array, Object(WP_Error)) #1 /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-orderendpoint.php(233): WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEn in /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-requesttrait.php on line 52Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘API Endpoint Error’ is closed to new replies.