Commerce License w &w/o Commerce Recurring
Here I will be documenting the process in utilizing commerce_license in conjunction with commerce_recurring
A portion of this has been pulled from commerce_license readme
Expiration Licenses
Create products that grant licenses that expire
- Configure or create a checkout flow which does not allow anonymous checkout.
/admin/commerce/config/checkout-flows - Configure or create an Order Type to use the checkout flow.
- Configure or create an Order Item Type to use the Order Type, and work with Licenses.
- Configure or create a Product Variation Type to use the Order Item Type, and provide Licenses.
- Create one or more products that provide licenses. In the product variation, configure:
- The license type
- The expiration
Recurring Subscription Licenses
Create products that grant licenses that renew with a subscription
- Configure or create a checkout flow which does not allow anonymous checkout.
- Configure or create an Order Type to use the checkout flow.
- Configure or create an Order Item Type to use the Order Type, and work with Licenses.
- Configure or create a Product Variation Type to use the Order Item Type, and provide both Licenses and Subscriptions.
- Create one or more products that provide licenses and subscriptions. In the product variation, configure:
- The license type
- The expiration should be 'Unlimited', as the subscription controls this.
- Set the subscription type to 'License'
- Select the billing schedule.
Known Issues
From module README.md
License module is still incomplete, and has the following limitations:
- The admin forms to create/edit licenses are not yet complete. They should only
be used by developers who know what they are doing. Changing values here can
break things!
/admin/commerce/licenses-- Does not work!
Expiration Licenses
Create products that grant licenses that expire.
Configure or create a new checkout flow which does not allow anonymous checkout.
/admin/commerce/config/checkout-flows


Configure or create an Order Type to use the checkout flow.
/admin/commerce/config/order-types

Configure or create an Order Item Type to use the Order Type, and work with Licenses.
/admin/commerce/config/order-item-types
- Underneath Traits check “Provides an order item type for use with licenses”
Configure or create a Product Variation Type to use the Order Item Type, and provide Licenses.
/admin/commerce/config/product-variation-types

- Check “Provides a license”
- Configure License Settings
Create one or more products that provide licenses. In the product variation of the new product, configure the following:
/product/add
- License Type (ie Role)
- Configure the expiration
- Interval based on reference date
- Rolling Interval
- Unlimited