I have an observer for every order status change, and another for every new order. In both observers I need to retrieve the customer's phone number. In order-status-change this happens as follows:
$phone = $order->getBillingAddress()->getTelephone();
However in new-order, none of the below succeed. They all return
null. Why does this happen? What could I do?
$order->getCustomerPhone(); $order->getBillingAddress(); $order->getShippingAddress(); $order->getPrimaryBillingAddress();