Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commerce License w &w/o Commerce Recurring #232

Open
brandonratz opened this issue Apr 13, 2018 · 4 comments
Open

Commerce License w &w/o Commerce Recurring #232

brandonratz opened this issue Apr 13, 2018 · 4 comments

Comments

@brandonratz
Copy link

brandonratz commented Apr 13, 2018

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

@brandonratz
Copy link
Author

brandonratz commented Apr 13, 2018

Expiration Licenses

Create products that grant licenses that expire

  1. Configure or create a checkout flow which does not allow anonymous checkout.
    /admin/commerce/config/checkout-flows
  2. Configure or create an Order Type to use the checkout flow.
  3. Configure or create an Order Item Type to use the Order Type, and work with
    Licenses.
  4. Configure or create a Product Variation Type to use the Order Item Type, and
    provide Licenses.
  5. Create one or more products that provide licenses. In the product variation,
    configure:
  • The license type
  • The expiration

@brandonratz
Copy link
Author

brandonratz commented Apr 13, 2018

Recurring Subscription Licenses

Create products that grant licenses that renew with a subscription

  1. Configure or create a checkout flow which does not allow anonymous checkout.
  2. Configure or create an Order Type to use the checkout flow.
  3. Configure or create an Order Item Type to use the Order Type, and work with
    Licenses.
  4. Configure or create a Product Variation Type to use the Order Item Type, and
    provide both Licenses and Subscriptions.
  5. 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.

@brandonratz
Copy link
Author

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!

@brandonratz brandonratz changed the title Commerce License Commerce License w/o Commerce Recurring Apr 13, 2018
@brandonratz brandonratz changed the title Commerce License w/o Commerce Recurring Commerce License w &w/o Commerce Recurring Apr 17, 2018
@brandonratz
Copy link
Author

brandonratz commented Apr 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant