This commit is contained in:
2026-03-31 10:56:31 +02:00
parent af48e84449
commit 50507d70a5
13 changed files with 616 additions and 75 deletions

View File

@@ -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) {