Closed nans closed 12 months ago
Thanks @nans. So, Amasty Single Step Checkout dispatches the customer_register_success
event at checkout?
Hi @sta1r, yes (relevant for version 3.1. I can’t say anything about more recent versions). I see in the Magento code there is a check for the presence of a controller:
Resolved in https://github.com/dotmailer/dotmailer-magento2-extension-sms/releases/tag/v2.0.1. Thanks again @nans!
Where
Class: Dotdigitalgroup\Sms\Observer\Customer\Register
Issue It is possible that the account_controller will not be present in the event. I recommend adding handling for such a situation, otherwise, the checkout or any other customized logic may break. For example, Amasty Single Step Checkout 3.1.3 dispatching event without account_controller variable.