We fixed an issue where, when multiple gift campaigns existed and the removal of a gift from one campaign and the addition of a gift from another campaign occurred at the same time, the same process could be executed in duplicate.
For example, this issue could occur when running campaigns such as the following at the same time.
- Campaign 1: Gift A for purchases between 2,000 and 4,999 yen
- Campaign 2: Gift B for purchases of 5,000 yen or more
In this situation, if the cart total changed from under 5,000 yen to 5,000 yen or more, the removal of Gift A and the addition of Gift B would occur at the same time. In that case, part of the process could be executed in duplicate, causing an error message to display unintentionally.
Please note that no significant impact on the gift addition/removal process itself has been confirmed as a result of this issue.
With this fix, processing no longer duplicates when switching between gift campaigns, resulting in more stable operation.