Skip to content

Commit

Permalink
Merge pull request #1115 from buckaroo-it/BP-3830-Paylink-order-from-…
Browse files Browse the repository at this point in the history
…secondary-store-view-is-not-updated-to-processing

BP-3830-Paylink-order-from-secondary-store-view-is-not-updated-to-processing
  • Loading branch information
vegimcarkaxhija authored Dec 4, 2024
2 parents 9ac1b20 + 598fa2a commit c04dbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Push.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c04dbc3

Please sign in to comment.