Skip to content
Learnomy
Get Learnomy Pro

Use case walkthrough

How to Sell Online Courses in Your WooCommerce Store

To sell online courses in a WooCommerce store, you have two routes. Either turn on Send Learnomy purchases to the WooCommerce cart and checkout, so buyers pay through the checkout you already run while Learnomy keeps the course, the price and the enrollment, or map ordinary WooCommerce products to course access so your product and its price are the sale and Learnomy only gives access. Courses stay in Learnomy in both cases. They are not WooCommerce products.

Download Free 5 screenshots from a real seeded site

How to Sell Online Courses with WooCommerce in WordPress | Learnomy LMS2:59Chapters and transcript

Watch it on a real seeded site, or read the steps below. More video tutorials →

This page is for someone who already runs a WooCommerce store. Physical goods, digital downloads, maybe a few services, all with an order history, payment methods your customers trust and possibly a tax setup you spent real time getting right. You'd rather route course money through the checkout you already operate than stand up a second payment system beside it.

Key points

  • WooCommerce as a gateway is a payment rail only. WooCommerce collects the money. Learnomy owns the course, the price, the enrollment and the receipt.
  • Enrollment happens when the WooCommerce order is Completed. A mixed order with a physical product waits in Processing until you complete it.
  • A Learnomy coupon can't be entered on a WooCommerce-routed checkout. Use Stripe or PayPal for courses that rely on course-scoped coupons.
  • A separate route lets a WooCommerce product give course access. The sale is the product's, and Learnomy records only the access.
  • Learnomy takes no share of your sales.

Learnomy supports exactly that first route: WooCommerce as a pure payment gateway. It is worth being precise about what that means, because it is a narrower job than "WooCommerce integration" usually implies. WooCommerce collects the money. Learnomy still owns the course, the price, the enrollment and the receipt. Nothing about your course catalog lives in WooCommerce, and nothing about your WooCommerce product catalog knows a course exists.

What you'll use

WooCommerce checkout (gateway)

Pricing and access models

Flat tax rate

Checkout and purchase flow

Transactions

Coupons

The walkthrough

Phase 1 - Decide whether WooCommerce is the right route

Go to LMS Settings > Payments. Learnomy offers four gateways, and more than one can be enabled at once:

Your options here:

  • Test - a synchronous in-memory gateway for building and QA. No real money, no setup. Turn it off before you launch.
  • Stripe - on-page checkout with Stripe's Payment Element, plus delayed bank and voucher methods (SEPA, Bacs, BECS, boleto, OXXO, Konbini) per region. No separate store to run; one webhook to configure.
  • PayPal - a second on-page, real-money option, no delayed methods.
  • WooCommerce - routes the purchase through your existing WooCommerce cart and checkout instead of Learnomy's own.

The decision between Stripe/PayPal direct and WooCommerce comes down to what you already have and what you actually need:

  • Stripe or PayPal direct is the pick when you are not already running a store. You get an on-page checkout, delayed payment methods where Stripe supports them, and nothing extra to install or maintain. This is the default for most academies, covered in Run a solo creator academy and Run a global academy.
  • WooCommerce is the pick when a store already exists and you want courses to check out through it rather than beside it: your existing WooCommerce payment methods (any WooCommerce payment plugin), your existing tax setup (per-region rates, exemptions, EU VAT with the reverse charge), and one order history that already includes your physical or digital products. The trade-off is Stripe's delayed bank and voucher methods, which are Stripe-only and do not carry over to a WooCommerce checkout.

An existing WooCommerce store selling courses alongside its regular catalog is exactly this guide's case: WooCommerce is already the checkout the customer trusts, so courses join it rather than opening a second one.

Payments settings with the WooCommerce card enabled
Payments settings with the WooCommerce card enabled

Phase 2 - Enable WooCommerce as a gateway

  1. Confirm WooCommerce is installed and active. Either the block-based or the classic cart and checkout pages work. Then check one setting: WooCommerce's Coming soon store mode is off (WooCommerce > Settings > General > Store notice). Coming-soon mode blocks the cart and checkout for every visitor, Learnomy purchases included.

  2. Go to LMS Settings > Settings > Payments, open the WooCommerce card, check Send Learnomy purchases to the WooCommerce cart and checkout, and click Save Changes.

    No API keys and no per-course product mapping are required. WooCommerce now appears as a gateway option, and it uses whatever payment methods your WooCommerce install already has configured (card, PayPal, bank transfer, cash on delivery, or any WooCommerce payment plugin) for the actual charge. See Payment Gateways.

Phase 3 - Understand what moves to WooCommerce and what does not

This is the part worth reading closely, because the honest answer is narrower than "WooCommerce integration" sounds. WooCommerce is a pure gateway adapter: it collects the money and reports back that the money arrived. Everything else about running the course stays in Learnomy, on purpose, because a course and a WooCommerce product are two different records and letting them drift out of sync is worse than not syncing them at all.

What moves to WooCommerce:

  • The cart and checkout page the student sees, and the payment method they pick there.
  • The order record: WooCommerce creates one hidden, reusable virtual product ("Learnomy Checkout Item") and sets its line price to the exact amount owed for this specific purchase, already adjusted for any sale price or coupon Learnomy applied before the hand-off. One shared product carries every one-time purchase; Learnomy does not create a WooCommerce product per course.
  • Recurring membership billing, when the WooCommerce Subscriptions extension is active -- a small set of period-keyed subscription products, one per billing interval, again with the price set dynamically rather than one product per plan.

What stays in Learnomy, regardless of which gateway was used:

  • The course catalog. WooCommerce never gains a product-per-course, a category tree that mirrors your course categories, or stock levels for seats. There is no course-as-WooCommerce-product mapping to keep in sync, because there is no second copy of the catalog to drift.
  • Enrollment. When the WooCommerce order is marked Completed, Learnomy's adapter reads the order, records a transaction, and fires the same enrollment (or subscription) action it fires for a Stripe or PayPal purchase. The student is not enrolled by WooCommerce; WooCommerce is the signal Learnomy is watching for. An order that holds only Learnomy items completes on its own once payment clears. A mixed order, say a course plus a physical product, waits in Processing until you mark it Completed, and access is granted at that point.
  • Pricing models. All eight pricing models -- Free, One-time (lifetime), One-time (time-limited), Recurring subscription, Members only, One-time or Members, Invite only, and Access granted externally -- are set on the course exactly as they would be for Stripe or PayPal. WooCommerce collects whatever amount the pricing model and any active sale or coupon produce; it does not add its own pricing logic. See Pricing and Access Models.
  • Receipts and transaction records. The purchase shows up in LMS Commerce > Transactions with the same fields a Stripe purchase would have, tagged with provider "WooCommerce" and the WooCommerce order number as its reference, so you can always trace one to the other. See Transactions.
  • Commission. When the order completes, Learnomy fires the standard learnomy_payment_completed action and calculates instructor commission the same way it does for any other gateway.
  • The flat tax rate, conditionally. Learnomy checks whether WooCommerce itself is actually calculating tax (its Enable taxes setting). If WooCommerce's own tax engine is switched on, it handles the sale and Learnomy's flat rate steps back, so the buyer is not taxed twice. If WooCommerce's tax setting is off, which is WooCommerce's own default, Learnomy keeps applying its configured flat rate to the amount before handing it to WooCommerce, exactly as it would for Stripe or PayPal, so a WooCommerce buyer is never left untaxed by accident. See Tax (Flat Rate) and, for a broader look at Stripe's regional payment methods against WooCommerce's tax engine as two different answers to the same global-buyer problem, Run a global academy.

One real limitation to plan around: course-scoped coupons. A Learnomy coupon restricted to a specific course is applied on Learnomy's own checkout page, before the purchase is handed to a gateway. With WooCommerce routing turned on, Buy Now opens a short Learnomy order summary with no coupon field, then hands the buyer to the WooCommerce checkout, and the coupon field there belongs to WooCommerce, not Learnomy. A Learnomy coupon code has no field to be entered into on a WooCommerce-routed checkout, so it cannot be redeemed there. If launch discounts and per-course coupons matter to how you sell a course, run that course through Stripe or PayPal, or build the discount as a WooCommerce coupon instead (it will not carry Learnomy's course-scoping or usage limits, since it lives outside Learnomy entirely). See Coupons.

This is why WooCommerce-as-gateway is the right call when the thing you need is an existing checkout with its own payment methods and tax engine, and the wrong call when you need Learnomy's course-scoped coupons at checkout -- you cannot have both on the same purchase today.

Phase 4 - Buy a course through the WooCommerce route

  1. Log out, then log back in as a student who has not bought the course. Open the course page. The price and Buy Now button show exactly as they would with any other gateway enabled -- nothing in the course page indicates which gateway is behind the button.

  2. Click Buy Now. A short Learnomy order summary opens with the price and billing details. Click Proceed to Payment and the browser moves to your WooCommerce checkout, with one line item already in the order: the course title, the instructor's name, and the price Learnomy calculated (including any flat tax, per Phase 3).

    WooCommerce checkout carrying the course as a single line item
    WooCommerce checkout carrying the course as a single line item
  3. Complete checkout using whichever payment method your WooCommerce store has enabled. The student never sees a Learnomy-branded payment form on this route; everything from here on is WooCommerce's own checkout experience, receipt email, and order-confirmation page.

Verify it works

  1. As a student who has not bought the course, open its page and confirm Buy Now shows the current price, then click it and confirm the short order summary hands you to the WooCommerce checkout with the course as a single line item.

  2. Complete the WooCommerce checkout. You land on WooCommerce's own "Order received" page with a WooCommerce order number.

  3. As the site owner, open that order in WooCommerce > Orders. Confirm it reached Completed, with the course as its one line item. A course-only order completes on its own.

    Completed WooCommerce order for the course purchase
    Completed WooCommerce order for the course purchase
  4. Open LMS Commerce > Transactions and confirm a matching row exists for the same student and course, with provider WooCommerce and the WooCommerce order number as its reference, status Completed -- the same fields a Stripe or PayPal transaction would carry.

    Learnomy transaction record showing provider WooCommerce and the matching order number
    Learnomy transaction record showing provider WooCommerce and the matching order number
  5. Log back in as the student and open the course page. It shows Enrolled with a 0% progress bar, exactly as it would after a Stripe or Test Gateway purchase -- WooCommerce paid for the order, but the enrollment itself came from Learnomy the same way it always does.

    Course page showing Enrolled after the WooCommerce purchase
    Course page showing Enrolled after the WooCommerce purchase

Which route should a WooCommerce store use?

You have two real options, and they suit different shops.

Route The sale is recorded in Pick it when
WooCommerce as the checkout Learnomy and WooCommerce You want Learnomy's prices and records
Woo product grants access WooCommerce only The product page is the storefront

WooCommerce as the checkout is what Phases 1 to 4 above walk through. A course keeps its Learnomy price and pricing model. Buy Now opens a short Learnomy summary and then the WooCommerce checkout. The order completes, Learnomy records a transaction and enrolls the student.

A Woo product that grants access reverses the arrangement. You edit a product, open the Learnomy access tab under Product data, and pick what it unlocks: a course, a membership plan, a learning path, a Space or a cohort. When the order is paid, the buyer gets the access you picked. WooCommerce keeps the money, the taxes, the coupons and the receipts. Learnomy records only the access, in Learnomy Settings > Access Log, not a sale, so these purchases don't count toward Learnomy revenue reports or instructor commissions.

Before you use the second route:

  • Turn on Store and membership bridges under Learnomy Settings > Modules. It is off until you enable it.
  • Use WooCommerce 8.2 or newer.
  • Don't also sell the same course through Learnomy's WooCommerce checkout. Buyers would have two ways to buy it, and the screen tells you when you try.
  • Know how refunds behave: a full refund or a cancelled order ends the access that order gave, and a partial refund leaves it.

See Sell Learnomy access with WooCommerce products for the full table of what each order event does. Our guide to selling courses with your existing store compares the options in more depth.

What does it cost to sell courses through WooCommerce?

Your costs are the ones your store already has: hosting, a domain and your payment methods' fees, plus the Learnomy licence (see the pricing page). Learnomy takes no share of your sales and has no per-student fee, and routing through WooCommerce doesn't change that. What changes is the checkout you operate: WooCommerce's payment extensions and tax tools have their own terms, so check those with their vendors.

Selling courses adds load of its own. Course pages and logged-in students are harder to cache than a catalog of products, so watch your hosting as enrollments grow. Add an SMTP plugin if you haven't, so order and enrollment emails arrive. For the whole list of cost lines, see how much it costs to run a WordPress course site.

What mistakes do WooCommerce stores make with courses?

  • Expecting a product per course. Courses are not WooCommerce products, and there's no stock level or category mirror to maintain.
  • Using Learnomy coupons on the WooCommerce route. The field isn't there. Use a WooCommerce coupon, or run that course through Stripe or PayPal.
  • Leaving WooCommerce in Coming soon mode. It blocks the cart and checkout for every visitor, Learnomy purchases included.
  • Forgetting that mixed orders wait. A course plus a physical product stays in Processing until you mark it Completed, and access starts then.
  • Counting on two tax engines. If WooCommerce's Enable taxes is on, it handles tax and Learnomy's flat rate steps back. If it's off, Learnomy's flat rate applies. Check which you want.
  • Selling the same course two ways. Pick the checkout route or the product route for each course.
  • Skipping the test order. Place one as a student, complete it and read both records.
  • Ignoring payment methods. Stripe's delayed bank and voucher methods don't carry over to a WooCommerce checkout.

A launch checklist

  1. WooCommerce is active and Coming soon mode is off.
  2. Send Learnomy purchases to the WooCommerce cart and checkout is ticked and saved.
  3. Each course's pricing model and price are set in Learnomy.
  4. You know whether WooCommerce's Enable taxes is on, and which tax engine applies.
  5. Your payment methods in WooCommerce are the ones you want customers to use for courses.
  6. A test order for a course-only cart reached Completed and enrolled the student.
  7. A mixed cart test was marked Completed by hand.
  8. LMS Commerce > Transactions shows provider WooCommerce and the order number.
  9. If you use product-granted access, the bridge module is on and each product's Learnomy access tab is set.
  10. Launch discounts are built as WooCommerce coupons where Learnomy's can't reach.
  11. An SMTP plugin is installed and a test email arrived.

Frequently asked questions

Do I need WooCommerce to sell courses with Learnomy? No. Learnomy has its own checkout with Stripe and PayPal. WooCommerce is optional, and it fits stores that already use it.

Are my courses WooCommerce products? No. Courses are Learnomy records. WooCommerce carries one hidden virtual item whose line price is set to the amount owed.

Do subscriptions work? Recurring membership billing runs through WooCommerce Subscriptions when that extension is active.

Where do I see a WooCommerce course sale? In WooCommerce > Orders for the order and in LMS Commerce > Transactions for the Learnomy record, with the order number as its reference.

Can I switch the route later? Yes. Turn the checkbox off to return to Learnomy's own checkout.

Keep reading

Build this on your own site

Everything above runs on your WordPress server. Everything here is part of Learnomy.

Sandbox demo

Try it on a live demo academy

Enter your name and email and we build you a private copy of the Learnomy demo site. Nothing to install, nobody else sees what you change, and the copy lasts about four hours.

Prefer to watch first? See the tutorials.

What to try in the demo

  1. Open LMS Settings > Settings > Payments and find the WooCommerce card with its single routing checkbox.
  2. Open a course page while logged out and click Buy Now to see the short order summary before the WooCommerce checkout.
  3. Open LMS Commerce > Transactions to see the provider and order reference on a WooCommerce purchase.

What customers say on Trustpilot

Top notch support

Top notch support! I've been frustrated generally by the slow support for most themes and plugins, but they are helpful and quick to reply. Highly recommend!

WoodsDE