From a091f0feb32c620708d773e4d350249ffec18a77 Mon Sep 17 00:00:00 2001 From: Dmitriy Benyuk Date: Tue, 5 Nov 2024 15:51:39 +0200 Subject: [PATCH] Remove orderlines that are not in the response --- .../Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj | 2 +- .../OrderHandler.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj index f11ebef..73a397c 100644 --- a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj +++ b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj @@ -1,6 +1,6 @@  - 10.4.9 + 10.4.10 1.0.0.0 Live Integration Live Integration diff --git a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs index 1e115b0..bc3e009 100644 --- a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs +++ b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs @@ -616,7 +616,7 @@ private static void ProcessOrderLines(Settings settings, XmlDocument response, O XmlNodeList orderLinesNodes = response.SelectNodes("//item [@table='EcomOrderLines']"); // Process OrderLines - if (orderLinesNodes != null && orderLinesNodes.Count > 0) + if (orderLinesNodes != null) { List orderLineIds = new List(); List orderLines = order.OrderLines.ToList();