When performing checkout on Front-End it is possible to:
- skip registration phase (perform checkout as non-logged-in user)
- skip entering the shipping e-mail
When shipping such order from Admin Console there are no e-mail we can use to send ORDER.SHIP e-mail notification, but we're trying to send it regardless and that ends up in the Exception:
In the "
OrdersEventHandler::InventoryAction" method don't send "
ORDER.SHIP" e-mail when e-mail address to be used is empty.