Posted on 10/11/2020 11:17:24
It looks like this might be related to us having two live integrations conencted to the same solution.
We have separated them both by renaming in LiveSalesDiscountProvider.cs and created two discounts in ecommerce admin like stated here:
https://doc.dynamicweb.com/documentation-9/integration/integration-framework-2/live-integration#sideNavTitle1-3-1
It is now showing separate discount lines, but they are all comming at the bottom, after all regular order lines.
We also have different product number and product id. The product id is prefixed, in order to separate the two integrations.
Might be something related to this. Think the discount and product lines is not matched together.