Fixed an issue where the post-checkout-submission voucher offer validation fails when the voucher offer is applied via an offer code.
Previously, only the deprecated Codes
field in OfferClient’s OrderDto
is built & passed to PromotionServices, which isn’t used at all, causing the issue. To fix it, the new OfferCodeDto
payload is used instead.