Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Cannot update promotion when creating payment plan from cart

Found in

EPiServer.Commerce 10.8.0

Fixed in

EPiServer.Commerce 11.2.2

(Or a related package)

Created

Aug 24, 2017

Updated

Sep 11, 2017

State

Closed, Fixed and tested


Description

Precondition: There are some active promotions.

Steps to reproduce

  1. Add an item to a cart that satisfies an active promotion.
  2. Deactivate the promotion or campaign (or wait for the discount to expire, or check out orders that reach the redemption limit).
  3. Select the cart in Commerce Manager.
  4. Select Create payment plan for that cart.

Expected: Payment plan is recalculated based on the promotion's inactive status.
Actual: Promotion is applied even though it's invalid.

Note: No such problem when converting that cart to an order.