32-2-263. Contracts void if made before compliance with law. If any such foreign association shall attempt or commence to do business in this state without having first filed said statement, certificate, and consent required by this chapter or without complying with any or all of the laws of Montana relating to the payment of fees or licenses, no contract made by them or any agent or agents thereof during said time shall be enforceable by them until the foregoing provisions have been complied with.