mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
fix error handling fro tracking endpoint
This commit is contained in:
parent
a4cb280fe3
commit
afc2d31852
2 changed files with 14 additions and 7 deletions
|
@ -112,7 +112,7 @@ class OrderTrackingModule implements ModuleInterface {
|
|||
static function( int $order_id ) use ( $endpoint, $logger ) {
|
||||
$tracking_information = $endpoint->get_tracking_information( $order_id );
|
||||
|
||||
if ( ! empty( $tracking_information ) ) {
|
||||
if ( $tracking_information ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue