Skip to content

Coupon code auto generate not working

We recently upgraded from 2.4.1 to 2.4.5. After upgrading, the coupon code auto generate function is not working as expected.

When I enter in my information and click “Generate”, I get the confirmation message.

Auto generate confirm message

However, after I search for codes created today, nothing is returned.

No coupon code results

If I go into my terminal and run this command, they do go and generate.

bin/magento queue:consumers:start codegeneratorProcessor

generated codes

What can I look at to get these codes to generate without having to run that command? Or is that something we need to check if it is running somewhere on our Production site?