Hi
We have a shop where it is posible to buy a giftcard at any amount > 200.
When a customer buys a giftcard we have to change the OrderLineType (in ProcessResponse) to OrderLineType.GiftCard, otherwise it will not be created in DW.
So far so good, it seems to work and the order gets created both in DW and in NAV.
The problem is when the Customer wants to redeem the giftcard, then we get some strange behaivor.
We have enabled the "LiveSalesDiscountProvider", so when we submit the order with the giftcard-code the ordertotal is subtracted with the right amount.
If we then update the order, we get the one more orderline with the giftcard as a product and as a discount.
We havn't been able to find any documentation or advice on how to handle this in a best practice way, so please advice !!
We are using a pretty standard LiveIntegration v1, and are looking for sample code or stuff like that, on how to handle this senario in DW and in NAV.
Regards and thanks in advance
/Kenneth