Skip to content

Commit 5d6e11c

Browse files
committed
ACP2E-1120: extend new statuses that can apply for new placed order with free payment
1 parent 3ed3be2 commit 5d6e11c

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Payment/Model/Method

1 file changed

+1
-2
lines changed

app/code/Magento/Payment/Model/Method/Free.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ public function getConfigPaymentAction()
143143

144144
return
145145
array_key_exists($configNewOrderStatus, $newStateStatuses) &&
146-
$configNewOrderStatus != 'processing' &&
147-
empty($paymentAction)
146+
$configNewOrderStatus != 'processing'
148147
? null : $paymentAction;
149148
}
150149
}

0 commit comments

Comments
 (0)