mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add order status to log entry
This commit is contained in:
parent
0371f315e4
commit
52a3954ae7
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class OrderProcessor {
|
|||
// Do not continue if PayPal order status is completed.
|
||||
$order = $this->order_endpoint->order( $order->id() );
|
||||
if ( $order->status()->is( OrderStatus::COMPLETED ) ) {
|
||||
$this->logger->warning('Could not process PayPal completed order #'. $order->id() );
|
||||
$this->logger->warning( 'Could not process PayPal completed order #' . $order->id() . ', Status: ' . $order->status()->name() );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue