(a) Each domestic corporation shall comply with the provisions of this chapter with respect to the merger or consolidation of domestic corporations and each foreign corporation shall comply with the applicable provisions of the laws of the state under which it is organized.
(b) If the surviving or new corporation is to be governed by the laws of a state other than this state, it shall comply with the provisions of this chapter with respect to foreign corporations if it is to transact business in this state and in every case it shall file with the commissioner
(1) an agreement that it may be served with process in this state in a proceeding for the enforcement of an obligation of a domestic corporation which is a party to the merger or consolidation;
(2) an irrevocable appointment of the commissioner as its agent to accept service of process in these proceedings.