> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/a-step-by-step-guide-to-setting-up-an-automated-subscription-course.md).

# A Step-by-Step Guide to Setting Up an Automated Subscription Course

Set up an automated subscription course — the membership model with timed access that renews every billing cycle

Sell a course on a recurring plan: add a subscription purchase option to the product, link it to the course, and give each billing period a timed access window.

> **Before you start:** you need a subscription app that adds a recurring **Subscriptions** purchase option to the product. This walkthrough uses [Shopify Subscriptions](https://apps.shopify.com/shopify-subscriptions) — the course app works with any subscription app. Install it and create the plan first: see [How to sell your course as subscription/membership](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/how-to-sell-your-course-as-subscription-membership.md).

## How it works

This is the **membership course model with timed access**:

1. **Purchase** — the customer buys a monthly or yearly subscription plan. Shopify Subscriptions handles the recurring billing, renewals and cancellations.
2. **Enrollment** — when the subscription order is paid, the app enrolls the buyer and starts the access window: 31 days for a monthly plan, 366 for a yearly one. The enrollment is tied to the subscription order.
3. **Learning** — while the subscription is active the student uses the course normally; lessons, progress, certificates and community access follow the same course rules.
4. **Renewal or expiration** — a paid renewal resets the access window. When the subscription is cancelled or a renewal fails, access ends after the paid period and the student cannot open the course again until a new subscription order is paid.

### 1. Create the product with a subscription option

In Shopify admin, open **Products** -> **Add product** (or edit the subscription product). Fill in the title, price and description, turn **Physical product** off under **Shipping** (the row then reads **Not a physical product**), then add a **Subscriptions** purchase option under **Purchase options** — for example **Delivery every month** or every year.

![The subscription product with its recurring purchase option](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-0b96401b6e93291b56639236d4843239972e24ed%2Fhow-to-set-up-an-automated-subscription-course-product.png?alt=media)

### 2. Link the product and set the access window

In the app, open **Courses** -> the course. Under **Option 1: Auto enroll via Shopify Products**, click **Link to products / variants** and choose the product from step 1.

Set:

* **Enroll when** — **Order marked as Paid**.
* **Limited access time X days after enrollment** — **31** for a monthly plan, **366** for a yearly plan. This is what ends access when a subscription period is not renewed.
* **Sell as group license** — only if the buyer assigns seats; leave it off for a normal subscription.

Click **Save**.

![The linked subscription product with Paid enrollment and a 31-day access window](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-67b04fe9e617a73c9dc0665d22a24508b99aa78b%2Fhow-to-set-up-an-automated-subscription-course-access.png?alt=media)

### 3. Test the renewal and cancellation

Place a test order with a 100% discount, confirm the student is enrolled with the right end date, then cancel the subscription in Shopify and confirm access ends after the paid period. The next paid renewal extends access again.

### Result

You get recurring revenue while the student keeps the course only while they pay. The subscription app owns the billing; the course app owns enrollment and access, so neither needs manual work per renewal.

### Troubleshooting

* **The order does not enroll the student.** Check that the linked product and the customer's order are the same, the order is **Paid**, and the course's product link is saved.
* **Access does not renew.** Confirm the renewal order was paid and the course still has a limited access window; an unlimited window never expires.
* **Access ends before the next charge.** The window is shorter than the billing cycle; set the days to cover the full period (31/366).
* **The product sells without recurring billing.** Add the **Subscriptions** purchase option to the product (install and activate the subscription app first) and check it is active in Shopify Subscriptions.
* **A cancelled student keeps access.** The paid period is still running; access ends when the access window expires.
* **The wrong variant/plan enrolls.** Edit the product link and select the exact variant or purchase option used by the plan.
* **A student has access but cannot open a lesson.** Course access and lesson visibility are separate; check the lesson's Published/Schedule/Drip setting.
* **I want tag-based access instead.** Use [Setting Up a Subscription Course with Enrollment Tags](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/setting-up-a-subscription-course-with-enrollment-tags.md); a customer tag drives enrollment.

### Related pages

* [Setting Up a Subscription Course with Enrollment Tags](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/setting-up-a-subscription-course-with-enrollment-tags.md)
* [How to sell your course as subscription/membership](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/how-to-sell-your-course-as-subscription-membership.md)
* [How to Grant Free Course Access Using a 100% Discount Code](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/how-to-grant-free-course-access-using-a-100-discount-code.md)
