Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Duplicated orders + Critical error

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles