mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
count NO_DECISION as approved
This commit is contained in:
parent
ea56fd914d
commit
985c4fe626
1 changed files with 8 additions and 1 deletions
|
@ -110,6 +110,13 @@ class OrderProcessor
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->threedSecure->proceedWithOrder($order) === ThreeDSecure::PROCCEED;
|
$isApproved = in_array(
|
||||||
|
$this->threedSecure->proceedWithOrder($order),
|
||||||
|
[
|
||||||
|
ThreeDSecure::NO_DECISION,
|
||||||
|
ThreeDSecure::PROCCEED,
|
||||||
|
]
|
||||||
|
);
|
||||||
|
return $isApproved;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue