Fix AttributeError due to missing invoice and shipping addresses.