If such corporation has not qualified to do such business under the laws of this state, service may be made by delivering, within the state, a copy of the process or notice to any officer, director or agent of such corporation acting or transacting business for it in this state.
If there be no statutory attorney-in-fact, officer, director or agent found in this state upon whom service may be had as aforesaid, then on affidavit of that fact an order of publication may be awarded as provided by sections twenty-three and twenty-four of this article.