November Happy Hour will be moved to Thursday December 5th.

Intermittent problems with PromotionEngine in 14.28.2

Vote:
 
After updating EPiServer.Commerce from version 14.15.6 to 14.28.2, we have started experiencing intermittent issues with Promotions.
We have a campaign that offers free shipping above a certain order amount, but it is not always applied even when the conditions are met.
This sometimes results in orders with incorrect order totals.
To address this, we developed a tool to re-runs the PromotionEngine for orders missing the Free Shipping Promotion.
While this usually works, sometimes it does not apply any promotion. Running the function again, a few minutes later often resolves the issue.

At the moment, we are not running any other campaigns, but we are really concerned about running a bigger campaign before we have solved the issue with Free Shipping Promotions. 
Has something changed in PromotionEngine from 14.15.6 to 14.28.2?

Minimal example of the code in the tool
//Order with conditions met for free shipping
var purchaseOrder = _purchaseOrderRepository.Load(orderNumber);
//Sometimes returns empty rewardsDescriptions, no promotion applied
var rewardDescriptions = _promotionEngine.Run(purchaseOrder);
_orderRepository.Save(purchaseOrder);
#333298
Edited, Nov 22, 2024 14:50
Vote:
 

A long shot but this could be something related to the thing we fixed in Commerce 14.31. it is under testing so hopefully will be released 2 weeks from now. I suggest to upgrade to that version when it comes out.

You're always welcome to contact our developer support service, but please keep in mind that "random" issue is elusive in nature so it can take a long time to figure out 

#333299
Nov 22, 2024 19:05
Vote:
 

Hi,

Unfortunately there is nothing that covers this issue in the release notes for 14.31 from yesterday. This is still an issue for us.

#333839
Dec 04, 2024 7:50
Vote:
 

The bug was set to private (it should have been public), but I'd suggest to give it a try 

#333840
Dec 04, 2024 8:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.