This commit is contained in:
Mateusz 2026-06-24 07:12:14 +00:00 committed by GitHub
commit ea7a403b16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ final class OrderInventoryOperator implements OrderInventoryOperatorInterface
{
if (in_array(
$order->getPaymentState(),
[OrderPaymentStates::STATE_PAID, OrderPaymentStates::STATE_REFUNDED],
[OrderPaymentStates::STATE_PAID, OrderPaymentStates::STATE_REFUNDED, OrderPaymentStates::STATE_PARTIALLY_REFUNDED],
true,
)) {
$this->giveBack($order);