Tip
|
The 2.x versions are Spring Boot 3 compatible. |
Added hook point addDynamicOffersMap
intended for customization to fetch the amounts of dynamic offers and populate the DYNAMIC_OFFER_MAP
. This map is later used in the Offer Service to apply the offer.
Added method addPaymentsList
that copies the PAYMENT_LIST
cart attribute into the OrderDto#contextMap
. This map is later used in the Offer Service to apply payment offers matching the supplied payment types.
Note
|
The PAYMENT_LIST cart attribute needs to be supplied by the frontend and managed through ManageCartEndpoint#addAttributeToCart . AddAttributeRequests coming to this endpoint must include invalidatePricing=true .
|