update
This commit is contained in:
@@ -44,10 +44,13 @@ final class OrderImportRepository
|
||||
|
||||
$this->replaceAddresses($orderId, $addresses);
|
||||
$this->replaceItems($orderId, $items);
|
||||
$this->replacePayments($orderId, $payments);
|
||||
$this->replaceShipments($orderId, $shipments);
|
||||
$this->replaceNotes($orderId, $notes);
|
||||
$this->replaceStatusHistory($orderId, $statusHistory);
|
||||
|
||||
if ($created) {
|
||||
$this->replacePayments($orderId, $payments);
|
||||
$this->replaceShipments($orderId, $shipments);
|
||||
$this->replaceStatusHistory($orderId, $statusHistory);
|
||||
}
|
||||
|
||||
$this->pdo->commit();
|
||||
} catch (Throwable $exception) {
|
||||
|
||||
Reference in New Issue
Block a user