We have a website built on Sitecore commerce and working on the following requirement.
When user applies a promo/coupon code at checkout, validate the code with a third party system.
Is it possible to get the promo code that user has applied, in the IRuleExecutionContext
.
I'm aware of creating a custom condition with the Evaluate method. But do not know how to get the applied code here.
Using Sitecore 8.2 update 5 with Sitecore Commerce 8.2.1 update 3