This article provides a solution for the issue when cart price rule coupons are not working properly. Merchants set up a coupon for single use and customers are able to use it multiple times.
Adobe Commerce (all deployment methods) 2.4.3 and above
Merchants set up a coupon for single use and customers are able to use it multiple times.
Steps to reproduce:
The coupon can only be used once. A message displays: The coupon code “COUPON_NAME” is not valid.
The coupon can be used more than once.
Merchants do not have
sales.rule.update.coupon.usage consumer set up and running that results in improper behavior.
sales.rule.update.coupon.usage consumer to the
... 'cron_consumers_runner' => array [ 'cron_run' => true, 'max_messages' => 20000, 'consumers' => array [ 'sales.rule.update.coupon.usage' ] ], ...
For detailed steps, refer to Manage message queues > Configuration in our developer documentation.
Message Queues Overview in our developer documentation.