IOMAD licences and ecommerce for selling training to companies

A planning guide to selling Moodle course access to client organisations with IOMAD, covering licence pools, capacity and duration, per-tenant products, payment gateways and reporting back to each client.

On this page

How IOMAD licences and ecommerce let you sell training to companies

A training provider or internal academy needs IOMAD licence and ecommerce handling when it wants to sell course access to client companies from one Moodle, and each client should see only its own staff, its own usage and its own invoice. In practice this means licence pools that are allocated to a client company, a capacity limit that caps how many of that company's learners can hold a seat, and a duration that defines how long each allocation runs before it expires or is renewed. Per-tenant products sit on top of these pools: each client can be offered a package with its own course set, seat count, term and price, so that one purchase maps to one tenant's entitlements rather than to a shared catalogue. This page assumes IOMAD is already the chosen tenancy model for your organisation and does not compare it with separate sites or category-based designs.

Before any build starts, decide who owns each pool. Confirm whether a company manager at the client, a sales administrator at your organisation or an automated sync from your billing system will assign seats, and whether unused seats can be reclaimed when a learner leaves. Decide how a licence is counted: per enrolled learner, per course, or per active period. Each choice changes what a client sees in its reports and what your finance team reconciles at month end. Check the IOMAD release you plan to run against your Moodle version, because the licence and company features depend on the plugin's compatibility with the Moodle core in use, and confirm that current version against the vendor's documentation before you commit to a design.

Ecommerce adds the payment step. Your team needs to choose a payment gateway, confirm which currencies and tax treatments it must support, and decide whether the purchase triggers the seat allocation automatically or passes through manual approval. Reporting back to each client is the final requirement: define the usage, completion and seat-consumption reports each company receives, and make sure they cannot see another tenant's data. Ask any implementation partner to show these flows working for at least two test tenants with separate pools, prices and reports before they are offered to real clients. Illustrative example: a provider selling a compliance course to two banks would verify that a purchase by one bank never draws seats from the other bank's pool.

Licence and commercial configuration options and when each fits

This table compares the main IOMAD licensing and commercial choices, the commercial model each one suits, the admin effort it creates and what it means for reporting to each client. Read each row against the contracts you expect to sign, because the choice you make for one client often shapes how the others are set up.

OptionSuits which commercial modelAdmin effortReporting consequence
Seat-based licence poolClients buying a set number of places they can assign to staff over a contract periodModerate: pools must be allocated, reclaimed and topped up as staff join or leaveClients see seats used against seats bought, so usage and renewal conversations depend on accurate allocation records
Course-based licenceClients buying access to specific courses, regardless of how many learners take themLower per learner, but the catalogue for each client must be kept accurateReports show which courses each client consumed, which suits content-led contracts but hides individual seat use
Time-limited accessSubscriptions or annual contracts where access ends on a set dateHigher: expiry dates, renewals and reminders need to be managed for each learner or cohortExpiry and renewal reports become a key client deliverable; confirm how expired access appears in each client's view
Perpetual accessOne-off purchases where the client keeps access to completed content indefinitelyLower renewal effort, but retained records and archived access need an agreed retention ruleHistoric completions remain visible, so confirm what data each client may see after their contract ends
Shared catalogueClients buying from one common library at the same termsLow: one set of courses is maintained and sold to everyoneShared courses can make it harder to show client-specific results unless reporting is scoped to each company
Company-specific catalogueClients with tailored content, internal policies or contractual course listsHigher: each catalogue needs its own course set, review and change controlEach client sees only its own courses and results, which supports contract confidentiality
Per-tenant price listClients negotiating different rates, bundles or payment termsHigher: each price list must be set, tested and kept in step with the contractInvoices and sales reports must be reconciled to the price list each client agreed

Setup sequence for licences and ecommerce in IOMAD

This sequence takes a company-selling IOMAD site from tenant records to verified licence sales and client reports, with a check at each step so that problems surface before real customers buy.

  1. Confirm tenant structure and company records

    Before any product exists, confirm how each client organisation maps to an IOMAD company record, including its name, contact details, company managers and any departments the client wants reported separately. The IOMAD administrator creates or imports these records, and the team reviews them with whoever owns the client relationship. The step is done when every planned client has exactly one company record, each record has a named company manager, and no test user sits in the wrong company. Check the list against your contract register, because a missing or duplicated company record breaks every later licence and report.

  2. Define catalogues and licence types

    Decide which courses each client can buy and how access is sold: for example, a seat pool with a fixed number of learners, a time-limited licence, or both. Write each licence type as a short specification covering the course set, the number of seats or the capacity rule, the duration, and what happens at expiry. The product owner signs off the specification before anyone configures it, because changing a licence type after sales begin means reconciling existing purchases. The step is complete when each licence type has a written definition that a non-technical reviewer can read and test against.

  3. Configure pricing and the storefront

    Set up the products, prices and per-tenant offers that match the licence types, then publish them in the storefront that each company sees. Confirm which products are global and which are restricted to a single company, and check that a client cannot see another client's pricing or catalogue. Your finance lead should confirm tax handling and currency settings against the sales terms. The step is done when a test account for each company shows only its own products at the agreed prices.

  4. Connect a payment gateway in test mode

    Connect the payment gateway that your finance team has chosen, but keep it in test mode with test credentials and no live account keys. Confirm the webhook or callback address, the currency, the success and failure paths, and how refunds are recorded. Verify with the gateway's own documentation and your payment provider's onboarding requirements, since the exact setup depends on the provider. The step is complete when a test checkout completes and returns the learner or company manager to the correct page, with the transaction stored against the right company.

  5. Run test purchases for each licence type

    Buy every licence type once per test company, using the test gateway, and record the expected seats, duration and course access for each purchase before you start. Include at least one purchase that uses all available seats and one that is refunded or cancelled, so the reconciliation covers edge cases. The step produces a test log that lists each purchase, the seats it created, and the expected expiry date. It is done when the log matches what the site shows for every test.

  6. Verify enrolment and expiry

    For each test purchase, assign seats to test learners and confirm that they receive access only to the courses in their licence. Then move the test clock forward, or use a test-only expiry setting if your environment provides one, to confirm that access ends on schedule and that a learner who has finished is not locked out of records they still need. Confirm that seats cannot be used beyond the pool. The step is done when enrolments, seat counts and expiry behaviour match the licence specification with no manual corrections.

  7. Reconcile seats against purchases and confirm reports

    Compare the seats sold in the test log with the seats allocated and remaining in each company, and resolve any difference before go-live. Then sign in as a company manager and confirm that they see only their own licences, learners and reports, and that a company manager of one client cannot view another client's data. Confirm the reports they receive match the test log. The step is complete when the reconciliation balances, the access check passes for every company, and the report output has been reviewed by the team that will support clients.

  8. Move to live gateway and monitor the first sales

    Switch the gateway to live credentials only after the earlier checks pass, and record who approved the change. Watch the first real purchases closely, comparing payments, seat allocations and company records with the test log format. Agree in advance who handles refunds and failed payments, and how a client will be told about a problem. The step is done when the first live sales reconcile with the gateway and no company sees data it should not.

Payment gateways and reconciling sales with seats

The payment gateway decision sits at the start of the chain that ends in a licence seat, so it needs to be settled before the first client is invoiced. A purchase in an IOMAD store moves through checkout, a payment callback from the gateway, a order record, and then an enrolment or licence allocation. Errors appear at each handoff: a payment that fails or is delayed after the learner has already been granted access, a refund that reverses money but leaves the seat in use, a second checkout started by a learner who did not see the first complete, and a seat granted by a manual enrolment that never produced a payment record. Confirm with your chosen payment plugin exactly which event triggers enrolment (a successful payment notification, or the learner returning to the site), how it handles pending and cancelled states, and whether it can be replayed safely if the callback arrives twice. Also confirm how the Moodle payment subsystem and the plugin relate in your version, since plugin support for newer Moodle releases varies and must be checked against the release you run.

Finance and support need a shared view of three records: the order and invoice, the payment settlement from the gateway, and the licence usage in Moodle. The reconciliation question is whether every consumed seat maps to a paid order, and every paid order maps to a seat pool or an allocation. Agree on a single order identifier that appears in the gateway report, the Moodle order record and the client invoice, and decide which system is the source of truth for refunds and credit notes. Support needs to see, for one learner, the purchase, any refund, the allocation and the current status without reading database tables. Ask any implementation partner to specify the exports, the reconciliation rule and who signs off mismatches, because these determine whether month-end close is manual or repeatable.

Payment handling may bring PCI DSS scope questions, because the payment page, the gateway integration and any stored card data determine which systems are in the cardholder data environment. Choosing a hosted payment page, where card entry happens on the gateway's domain, usually keeps the Moodle server out of that scope, but this depends on the integration method, the plugin's handling of return URLs and whether any card or token data reaches your servers. Ask the gateway and the plugin maintainer for their responsibility matrix, and have your security or compliance lead review it before go-live. Treat the gateway choice as a decision to confirm with those parties rather than a settled fact, and plan for ongoing review when the plugin or Moodle release changes.

Security and data separation risks in client-facing training sales

When one Moodle installation sells course access to several client organizations, the same platform holds each client's learners, licences, invoices and reports. The cards below cover the places where a tenant boundary is most likely to fail, with the control to put in place and what to verify before go-live.

Cross-tenant data leakage in reports

IOMAD company reports, user lists and course completion views are scoped by company assignment, and a misassigned user or an over-broad role can expose one client's learners to another. Test with two illustrative test companies and a test user in each: confirm that company managers see only their own users, that the company-level reports exclude other companies, and that exports and scheduled reports carry the same scoping. Verify every report type you plan to sell, not only the dashboard.

Overly broad company manager permissions

Company managers are usually given the IOMAD company manager role so they can enrol staff and allocate licences. Check whether that role also lets them edit other companies' departments, change course visibility, or view user profiles outside their company. Document the exact capabilities each role grants, remove any site-level capability they do not need, and test the role with a non-admin account before each client onboarding.

Payment data handling and scope

Keep card data out of Moodle entirely by using a hosted payment page or a gateway that returns only a token and status. Confirm which payment plugin and gateway you are using, where cardholder data is entered, and whether your servers ever receive it. Ask your assessor to confirm the resulting PCI DSS scope in writing, and record which Moodle and plugin components sit inside it.

Audit logging of purchases and seat changes

Every licence purchase, seat allocation, reallocation and price change should leave a record that shows who made it, when, and for which company. Moodle's standard logs record many actions, but confirm that the events you need for disputes and invoicing are captured, that they are retained for the period your contracts require, and that logs are exported to storage the Moodle administrators cannot silently edit.

Per-tenant backup and restore of licence data

A full-site restore returns every client's licence pools to the same point in time, which can reverse purchases or seat assignments for clients who were not affected by the incident. Plan tested restores that can recover one company's licence records, allocations and invoices without touching others, and rehearse the procedure. Ask your provider whether they have run that restore on your data and what the process takes.

Administrator access to pricing

Pricing, discounts and per-tenant products are often editable by any user with site administrator rights, and changes can take effect without a second check. Limit price edits to a named role, require a second approver for changes to live products, and log each change with the old and new value. Review the list of users who hold that capability each quarter, and remove access for anyone who no longer runs the sales function.

Questions buyers ask before selling training through IOMAD

What drives the cost and effort of setting up IOMAD licences and ecommerce?

The main drivers are how many distinct products you sell, how many pricing rules sit behind each product, and how many payment and reporting paths must work for each client. A single generic course with one price is a small job. A catalogue where each client has its own licence pool, capacity limits, durations and negotiated prices is a much larger one, because each combination needs configuration, testing and a clear owner. Cost is split between the planning work (agreeing the product model and pricing rules), the build (configuring licence pools, company settings and the payment gateway) and testing with real transactions. Ask any partner for a quote that lists each product type, each payment gateway, each reporting output and the test cases you will sign off. Those items, not the course count alone, determine the quote.

How long does an IOMAD licence and ecommerce setup usually take?

Duration depends mainly on catalogue and payment complexity rather than on the software itself. A small set of products, one gateway and a standard licence model can be configured quickly once the rules are agreed. Duration grows with the number of client-specific price lists, the number of gateways, invoice or purchase-order handling, tax treatment, refund rules and the amount of client-facing reporting. Most of the elapsed time often goes to decisions and sign-off rather than configuration, so the schedule is only as firm as the pricing and contract rules you can supply early. Ask for a written timeline tied to the agreed scope, with the decision points that would move it named explicitly.

What must our organisation supply before the build starts?

Before configuration begins, the selling organisation needs to provide several inputs that cannot be guessed by the implementer:

Can an internal team set up IOMAD licences and ecommerce alone?

Yes, a capable internal team can do the work if it has Moodle administration skills, IOMAD experience, payment gateway integration knowledge and the time to test thoroughly. The risks lie in the less visible parts: getting licence and pricing logic right across clients, handling refunds and reconciliation correctly, and keeping client reports accurate. Many teams split the work, keeping product and commercial decisions in-house while bringing in a partner for the configuration, testing and documentation. Whichever route you take, make sure one named person can explain how a licence is allocated, consumed and released, because that knowledge is what keeps the system working when staff change.

How do Moodle and IOMAD upgrades affect an existing licence and ecommerce setup?

Upgrades can change how licence, enrolment and company data behave, so each upgrade needs its own regression test of the sales path. IOMAD releases must be matched to the Moodle release underneath them, and plugins involved in payments or reporting must be checked for compatibility before the upgrade is scheduled. Moodle's own version requirements also apply: the Moodle 5.1 release notes state that sites must be on Moodle 4.2.3 or later to upgrade, and the Moodle 5.3 release notes state that sites must run Moodle 4.4 or later. Confirm which IOMAD release supports your target Moodle version before you commit to a date, and ask your partner to include a test of purchase, licence allocation and invoicing in the upgrade plan.

What recurring work does a licence and ecommerce setup need after go-live?

Recurring work falls into three groups. The first is operational: monitoring purchases, reconciling payments with your finance records, handling refunds and checking that licence pools are not over-allocated. The second is commercial: adding products, updating prices and renewing client terms, each of which needs a controlled change and a test. The third is technical: Moodle and IOMAD upgrades, plugin updates, gateway API changes and security patches. Ask for these items to be listed in a support agreement with the frequency and owner for each, since a one-time build without support tends to decay as products and clients change.

Is the payment gateway a one-time setup or an ongoing dependency?

Connecting a gateway is a one-time configuration, but it remains an ongoing dependency. Each gateway has its own credentials, webhooks, currencies, settlement schedule and fee structure, and each can change its API or terms. Plan for secrets to be stored securely, for test and live environments to be separated, and for failed or delayed payment notifications to be handled. Card data handling also affects your compliance scope, so confirm with your gateway and assessor how card data flows through your site before going live.

How a client purchase becomes seats and a client report

The flow starts when a company manager or buyer selects a course product in the public storefront and pays through the payment gateway. The order record and licence pool sit on the internal side of the trust boundary, where the purchase is allocated to a client company and its seats are assigned. Enrolment and expiry then run from the pool, and the per-client report reads only that company's data. Check that payment confirmation reaches the order record before any seat is released, and that the report filters strictly by company.

Purchase flow from storefront payment to licence pool, enrolment and client reporting.

What DeployOpen does on a licence and ecommerce engagement

A DeployOpen engagement for IOMAD licences and ecommerce is a fixed-scope project that starts with a written scope covering the licence model, the products you sell, the payment gateway, the reports each client receives and the handover. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. The first phase is design: we work with your commercial and operations teams to define how licences are pooled, how capacity and duration are set for each client, which products and prices belong to which tenant, and who in each client organisation can assign seats. These decisions shape the IOMAD configuration, so they are settled before anything is built. Confirm with us early which decisions are commercial, which are technical and who signs off each one.

Build work then covers configuring IOMAD company records, licence and course allocations, per-tenant products and the company-level purchasing flow, then integrating the payment gateway you choose and confirming that the gateway callbacks, receipts and refunds reach the right tenant. Testing is run against written test cases: sample purchases for each product, licence assignment and reclaiming, expiry behaviour, failed and partial payments, and the reports each client manager sees. We check that a client's report shows only its own users and purchases. Handover includes runbooks for adding a client, creating a product, reconciling payments, handling refunds and reissuing licences, plus a record of the configuration. Ongoing support, upgrades and continuous testing are available as a retainer, which is worth pricing alongside the project so that IOMAD and plugin upgrades do not stall your sales flow.

How DeployOpen scopes, delivers and supports IOMAD licensing

The sequence moves from confirming your commercial rules and tenant structure to a written scope, a build in your infrastructure, verified client reports, and a handover that you can run or extend under a retainer. Each step closes with a named output so you can check progress before the next one starts.

  1. Document commercial rules and tenant structure

    DeployOpen reviews how you sell training today: which client organisations buy, whether they buy seat pools, time-limited access or both, how renewals and overages are handled, and which courses belong to which products. Your finance and sales leads take part, along with whoever manages your Moodle site. The output is a short rules register listing each licence type, its capacity and duration rules, the company hierarchy it maps to, and the open questions that need a decision.

  2. Agree written scope and deliverables

    Using the rules register, DeployOpen drafts a written scope that names the IOMAD configuration to be built, the products and pricing to be created, the payment gateway integration, the client report formats, and the testing and handover work. Scope, deliverables and timelines are agreed in writing before build work starts, and any items you have not decided are listed as exclusions or follow-up items. The output is a signed scope document that defines what a quote covers.

  3. Confirm platform and payment prerequisites

    Before build, the team confirms with you the Moodle and IOMAD versions in use or planned, the hosting in your own cloud, data centre or network, and the payment gateway and its test environment. Compatibility between IOMAD and the Moodle release should be confirmed against the IOMAD project and the plugins you depend on, because the Moodle release line sets server and database requirements that also affect the payment and reporting plugins. The output is a prerequisites checklist signed off by your platform owner.

  4. Build licence pools, products and pricing

    DeployOpen configures company tenants, licence pools, capacity rules, duration rules and per-tenant products in a staging copy of your site, then connects the payment gateway in test mode. Each product is linked to the courses and enrolment rules it sells. The output is a staging environment where each licence type can be purchased, allocated to a company manager, expired and renewed according to the register.

  5. Test purchase, allocation and expiry flows

    The team runs scripted test cases for each licence type: purchase, payment callback, pool allocation to users, reallocation, expiry, renewal and refund or cancellation handling. Edge cases such as partial pool use and changes to a company hierarchy are included. Results are recorded against the rules register. The output is a test log showing which cases passed, what failed, and the fixes applied and retested.

  6. Verify client reports against source data

    For each client organisation, DeployOpen checks that the reports sent back to the company show the same seat counts, completions and usage as the underlying Moodle data and the payment records. Reconciliation totals are compared with a sample of transactions from the payment gateway test data. Your finance team signs off the report formats and reconciliation method. The output is a verified report pack and a reconciliation note that explains how to check each figure.

  7. Deploy to production and hand over

    After sign-off, DeployOpen moves the configuration to production in your infrastructure, switches the payment gateway to live mode, and runs a controlled first purchase with a test client tenant. Your team receives runbooks for allocation requests, refunds, pricing changes, report generation and IOMAD upgrades, plus admin training. The output is a production handover record listing the owners of each process and the open items.

  8. Offer optional retainer support

    If you want continued help, DeployOpen can support licence rule changes, new products, payment gateway updates, IOMAD and Moodle upgrade testing, and report changes under a retainer agreed in writing. Your team keeps ownership of pricing decisions and client contracts. The output is a retainer scope that lists the request types, response arrangements and what remains with your team.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.