Duplicated orders + Critical error
-
Hi there,
I am seeing a critical error as below, please advise:
2021-10-13T00:08:12+00:00 CRITICAL Uncaught TypeError: Argument 4 passed to WooCommerce\PayPalCommerce\ApiClient\Endpoint\PaymentsEndpoint::__construct() must be an instance of WooCommerce\PayPalCommerce\ApiClient\Factory\CaptureFactory, instance of WooCommerce\WooCommerce\Logging\Logger\WooCommerceLogger given, called in /home/xyz.com/xyz/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/services.php on line 147 and defined in /home/xyz.com/xyz/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-paymentsendpoint.php:73 Stack trace: #0 /home/xyz.com/xyz/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/services.php(147): WooCommerce\PayPalCommerce\ApiClient\Endpoint\PaymentsEndpoint->__construct() #1 /home/xyz.com/xyz/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/DelegatingContainer.php(116): Woo in /home/xyz.com/xyz/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/class-paymentsendpoint.php on line 73
Also, I am noticing that the plugin created 10 duplicated orders with status “Cancelled” that has the same details for a processed/captured order successfully via PayPal Credit Card Processor, check the log, i see many duplicated calls via the API
( [code] => 201 [message] => Created )
Please advise how to resolve this.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Duplicated orders + Critical error’ is closed to new replies.