Try our conversational search powered by Generative AI!

Default IOrderRepository implementation does not call ICouponUsage.Report method

Found in

EPiServer.Commerce 11.2.2

Fixed in

EPiServer.Commerce 11.4.0

(Or a related package)

Created

Oct 10, 2017

Updated

Nov 10, 2017

Area

Core

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Use latest version of Commerce in a Quicksilver project.
  2. Implement ICouponUsage as described here: http://world.episerver.com/documentation/developer-guides/commerce/marketing/coupons/

For example:

    public class CustomCouponUsage : ICouponUsage
    {        
        public void Report(IEnumerable<PromotionInformation> appliedPromotions)
        {
            Console.WriteLine("test");
        }
    }

  1. Place an order

Actual: the ICouponUsage.Report method is never called.