PromotionInformationGetRedemption performance improvements

Found in

EPiServer.Commerce 13.15.0

Fixed in

EPiServer.Commerce 13.19.0

Created

Mar 31, 2020

Updated

Jun 23, 2020

Area

Core

State

Closed, Fixed and tested


Description

PromotionEngine is called every time validation is done. So redemption limits are gotten via GetRedemptions. But these calls are done directly to the DB since cache is not implemented to getredemptions by customer id and orderformid.