The Groups for WooCommerce extension allows you to sell memberships through normal products where membership is granted for an unlimited time, through one-time payments, or through subscriptions where the memberships lasts as long as the subscription is active, based on recurring payments and an optional setup fee – requires the free Groups WordPress plugin and free WooCommerce WordPress plugin.