No corporation created under the provisions of this chapter, nor the directors thereof, shall pay dividends upon any shares of the corporation except in accordance with the provisions of this chapter. Dividends may be paid in cash, in property, or in shares of the capital stock, in the case of shares with par value at par, and in the case of shares without par value at such price as may be fixed by the board of directors.