WooCommerce Software AddOn:

Sell License Keys for Software

The WooCommerce Software Add-on gives you the ability to manage license keys and activations via your store.

Sell licenses and upgrades

Define your products as software via the edit product page, and after doing so lets you define software specific properties: