Skip to main content
added 14 characters in body
Source Link
Raul Sanchez
  • 3.1k
  • 3
  • 29
  • 65

I have tested your code in a Magento2.2 installation and it works

enter image description here

I assume you have a well registered working module named vendor_module

So I suspect maybe there is a typo when you say vendor\module, are your module name & folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired

I have tested your code in a Magento2.2 installation and it works

enter image description here

I assume you have a well registered working module named vendor_module

So I suspect maybe there is a typo when you say vendor\module, are your folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired

I have tested your code in a Magento2.2 installation and it works

enter image description here

I assume you have a well registered working module named vendor_module

So I suspect maybe there is a typo when you say vendor\module, are your module name & folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired

added 78 characters in body
Source Link
Raul Sanchez
  • 3.1k
  • 3
  • 29
  • 65

I have tested your code in a Magento2.2 installation and it works

enter image description here

I assume you have a well registered working module named vendor_module

So I suspect maybe there is a typo when you say vendor\module, are your folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired

I have tested your code in a Magento2.2 installation and it works

enter image description here

So I suspect maybe there is a typo when you say vendor\module, are your folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired

I have tested your code in a Magento2.2 installation and it works

enter image description here

I assume you have a well registered working module named vendor_module

So I suspect maybe there is a typo when you say vendor\module, are your folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired

Source Link
Raul Sanchez
  • 3.1k
  • 3
  • 29
  • 65

I have tested your code in a Magento2.2 installation and it works

enter image description here

So I suspect maybe there is a typo when you say vendor\module, are your folders really lowercase?

If there are no typo error, have you run both bin/magento setup:upgrade & bin/magento setup:di:compile commands?

If we've reached here, then the only explanation is you have some 3rd party extension installed, which is causing customer_register_success event not to be fired