mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Disable tracking if transaction ID doesn't exist
This commit is contained in:
parent
8386f5045b
commit
40ac8fc54e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ trait AdminContextTrait {
|
|||
return false;
|
||||
}
|
||||
|
||||
if ( ! $order->get_meta( PayPalGateway::ORDER_ID_META_KEY ) ) {
|
||||
if ( ! $order->get_meta( PayPalGateway::ORDER_ID_META_KEY ) || empty( $order->get_transaction_id() ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue