2

enter image description here

I am using Magento ver. 2.4.3 and I have created the coupon code with following configuraion:

  1. uses per coupon - 1
  2. uses per customer - 1

Expected result:

  1. The coupon should be valid only once for success order for particular customer.

Issue:

  1. We are able to use same coupon for particular user for multiple times.

Please help us with same issue.

enter image description here

4

3 Answers 3

2

I found this Link while searching for my own coupon usage issue https://support.magento.com/hc/en-us/articles/4410911888013-Coupon-for-single-use-is-used-multiple-times-Adobe-Commerce

It relates to "Adobe Commerce (all deployment methods) 2.4.3 and above" so this might be your issue OP

The solution, in case the link goes dead the way Magento documentation enjoys doing, is "Add the sales.rule.update.coupon.usage consumer to the app/etc/env.php file."

...
    'cron_consumers_runner' =>
    array [
        'cron_run' => true,
        'max_messages' => 20000,
        'consumers' =>
        array [
            'sales.rule.update.coupon.usage'
        ]
    ],
...

Hope this helps you

0

rabbitmq installed and with its account; Run this command too before placing next order - bin/magento queue:consumers:start sales.rule.update.coupon.usage &

0

Affected products and versions

Adobe Commerce (all deployment methods) 2.4.3 and above

Issue

Merchants set up a coupon for single use and customers are able to use it multiple times.

Cause

Merchants do not have sales.rule.update.coupon.usage consumer set up and running that results in improper behavior.

Solution

Add the sales.rule.update.coupon.usage consumer to the app/etc/env.php file.

...
    'cron_consumers_runner' =>
    array [
        'cron_run' => true,
        'max_messages' => 20000,
        'consumers' =>
        array [
            'sales.rule.update.coupon.usage'
        ]
    ],
...

Run this command - bin/magento queue:consumers:start sales.rule.update.coupon.usage &

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.