I'm running into following error when I have more products that apply to a discount than I have available redemptions.In this case I'd have expected that the discount would only be applied on the first products. However i get a null reference error in OrderFormPriceMatrix.
We've implemented a custom RedemptionLimitService. I can see that the number of available redemptions returned is correct.
We are running Commerce 11.8.2 and CMS 11.4
at EPiServer.Commerce.Marketing.OrderFormPriceMatrix.CalculateAndCommit(AffectedEntries item, Func`3 apply)at EPiServer.Commerce.Marketing.OrderRewardApplicator.ApplyPercentage(AffectedOrder item, Decimal percentage, PromotionProcessorContext processorContext)at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.<>c__DisplayClass1_0.<Apply>b__1(TAffectedObject item)at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.ForEach(Func`2 apply, IEnumerable`1 affectedItems)at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.Apply(RewardDescription reward, RedemptionDescription redemption, PromotionProcessorContext processorContext)at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.Apply(RewardDescription reward, Int32 remainingRedemptions, PromotionProcessorContext processorContext)at EPiServer.Commerce.Marketing.PromotionEngine.Run(IOrderGroup orderGroup, PromotionEngineSettings settings)at EPiServer.Commerce.Order.IOrderGroupExtensions.ApplyDiscounts(IOrderGroup orderGroup, IPromotionEngine promotionEngine, PromotionEngineSettings settings)
Thanks in advance,
As you have custom implementation, I would suggest to contact developer support service for further assistance.
Thanks, I've contacted support.