Skip to content

Commit

Permalink
Merge pull request #1002 from buckaroo-it/BP-3627-Order-placed-with-B…
Browse files Browse the repository at this point in the history
…ank-transfer-remains-pending-state-when-create-invoice-on-shipment-is-active

BP-3627-Order-placed-with-Bank-transfer-remains-pending-state-when-create-invoice-on-shipment-is-active
  • Loading branch information
vegimcarkaxhija authored Aug 7, 2024
2 parents 6cf7313 + 6a28d02 commit c1b1a0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Model/Push.php
Original file line number Diff line number Diff line change
Expand Up @@ -1694,6 +1694,12 @@ protected function saveInvoice()
if ($invoiceHandlingConfig == InvoiceHandlingOptions::SHIPMENT) {
$payment->setAdditionalInformation(InvoiceHandlingOptions::INVOICE_HANDLING, $invoiceHandlingConfig);
$payment->save();

if($this->hasPostData('brq_transaction_method', 'transfer')){
$this->order->setIsInProcess(true);
$this->order->save();
}

return true;
}

Expand Down

0 comments on commit c1b1a0a

Please sign in to comment.