From 598fa2ac260ea1b7fc63706ab5e8150c2e035b41 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Wed, 4 Dec 2024 15:01:37 +0100 Subject: [PATCH] check invoice handling for store configs --- Model/Push.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Push.php b/Model/Push.php index 2beb5cf63..08e0ba47d 100644 --- a/Model/Push.php +++ b/Model/Push.php @@ -1711,7 +1711,7 @@ protected function saveInvoice() * @var \Magento\Sales\Model\Order\Payment $payment */ $payment = $this->order->getPayment(); - $invoiceHandlingConfig = $this->configAccount->getInvoiceHandling(); + $invoiceHandlingConfig = $this->configAccount->getInvoiceHandling($this->order->getStore()); if ($invoiceHandlingConfig == InvoiceHandlingOptions::SHIPMENT) { $payment->setAdditionalInformation(InvoiceHandlingOptions::INVOICE_HANDLING, $invoiceHandlingConfig);