We are currently facing an issue about expired discounts are being applied to orders after upgrading.
Expired discounts are being applied to orders after an application upgrade from version 9.3.15 to 9.14.9. This issue occurs with existing carts created before the upgrade but does not affect newly created carts after the upgrade.
For example:
1. ORDER1001 was created with items on 2023-12-01.
2. The application was upgraded on 2023-12-07.
3. Discount-A, valid until 2023-12-10, was applied to ORDER1001 placed on 2023-12-20.
4. ORDER1002, created on 2023-12-20, did not have the Discount-A issue when placed on 2023-12-21.
May I have regarding the possible causes of this issue. Thanks.