Invalidated Discounts is calculated wrong when does multiple returns

Found in

EPiServer.Commerce 13.31.1

Fixed in

EPiServer.Commerce 14.6.0

Created

Apr 14, 2022

Updated

Oct 05, 2022

State

Closed, Fixed and tested


Description

Fixed an issue where the discount calculation, and by extension the refund value calculation, is not correct when making multiple separate returns on the same order.