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

Try our conversational search powered by Generative AI!

Remaining redemption is not accessible from custom processors

Fixed in

EPiServer.Commerce 12.17.0

(Or a related package)

Created

Jan 29, 2019

Updated

Feb 18, 2019

Area

Core

State

Closed, Fixed and tested


Description

PromotionProcessorContext has a method to get the remaining redemption, but it's internal. It's also very inconvenient to get an instance of RedemptionLimits, then call Load, then call GetRemainingRedemptions, while the data is already calculated in PromotionProcessorContext.

We should make that method publicly available.