mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add #639 to changelog and log not getting PayPal order error
This commit is contained in:
parent
ceb95952a9
commit
5a6113f714
3 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,7 @@ class AuthorizedPaymentsProcessor {
|
|||
try {
|
||||
$order = $this->paypal_order_from_wc_order( $wc_order );
|
||||
} catch ( Exception $exception ) {
|
||||
$this->logger->error( 'Could not get PayPal order from WC order: ' . $exception->getMessage() );
|
||||
if ( $exception->getCode() === 404 ) {
|
||||
return self::NOT_FOUND;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue