mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Update logging messages
This commit is contained in:
parent
5df633037a
commit
7e59b29a12
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ class PaymentTokenChecker {
|
|||
case 'void_auth':
|
||||
$order = $this->order_repository->for_wc_order( $wc_order );
|
||||
$this->authorized_payments_processor->void_authorizations( $order );
|
||||
$this->logger->error( "Payment for subscription parent order #{$order_id} was not saved on PayPal." );
|
||||
$this->logger->warning( "Payment for subscription parent order #{$order_id} was not saved at PayPal." );
|
||||
$this->update_failed_status( $wc_order );
|
||||
break;
|
||||
case 'capture_auth':
|
||||
|
@ -172,7 +172,7 @@ class PaymentTokenChecker {
|
|||
$wc_order->add_order_note( $message );
|
||||
|
||||
} catch ( Exception $exception ) {
|
||||
$this->logger->error( "Could not update payment method on subscription #{$subscription->get_id()} " . $exception->getMessage() );
|
||||
$this->logger->warning( "Could not update payment method on subscription #{$subscription->get_id()} " . $exception->getMessage() );
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue