Except as provided in the articles of incorporation or bylaws, a corporation may purchase the membership of a member who resigns or whose membership is terminated for the amount and pursuant to the conditions set forth in or authorized by its articles of incorporation or bylaws. A corporation shall not make a payment that violates section 10-11301 or 10-11302.