Skip to main content
Moodle → PartnerStackIntegration guide

Connecting Moodle to PartnerStack

Moodle is self-hosted open-source learning management, used mostly by institutions where enrolment and payment are usually two different systems. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Moodle enrolment before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PartnerStack and Moodle: only subscription access fits the model

PartnerStack only fits subscription access, like an all-access membership billed through Stripe, Chargebee or WooCommerce, with Moodle granting access. The billing system reports the referral key, renewals and cancellations; Moodle just stores the customer ID in a profile field. One-time course fees suit a one-off affiliate tool instead.

PartnerStack is built for recurring commission, and most Moodle sites do not sell anything recurring. Moodle's enrollment-on-payment method takes a one-time fee per course, and an enrollment that ends when its enrollment period expires is not a cancelled subscription. If that describes your site, an affiliate tool built for one-off sales is the better fit.

The case that does fit is an all-access membership or a corporate seat plan billed through Stripe, Chargebee or a WooCommerce subscription, with Moodle simply granting access. There, PartnerStack should hear from the billing system, not from Moodle: the referral key and customer ID at the first charge, each renewal as it is recognized, and the cancellation or refund when billing records it. Moodle only needs the same customer ID stored in a custom profile field so support can trace an access dispute back to a partner.

The common break is reading churn from Moodle. Admins often leave lapsed members enrolled, or suspend them instead of unenrolling, so the LMS keeps showing an active learner while billing stopped months ago and the partner keeps accruing. The reverse also happens: a year-end cleanup that unenrolls everyone looks like mass churn. Billing is the only source for commissionable revenue here.

Moodle → PartnerStack · what breaks

Why this join usually fails — Moodle → PartnerStack

  1. 01

    The PartnerStack referral key never reaches Moodle

    Moodle is typically behind a login and often behind a separate marketing site, so the click identifier has to survive from a public page through registration into a user profile field. Institutional single sign-on frequently breaks that chain entirely.

  2. 02

    Free enrolments outnumbering paid ones

    Self-enrolment, cohort sync and manual enrolment all create the same record type as a paid one. Counting them teaches bidding to find people who join free courses.

  3. 03

    A commission that recurs on revenue that stopped

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  4. 04

    Nothing reconciles afterwards

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Moodle → PartnerStack · the fix

What working looks like — Moodle → PartnerStack

  • The PartnerStack referral key on every enrolment

  • Conversions arriving in PartnerStack

    The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.

  • Reconciled against the source

Moodle → PartnerStack · architecture

How Moodle and PartnerStack actually connect

  1. 1

    Moodle holds the truth

    Moodle supports several enrolment methods at once — self-enrolment, manual, cohort sync, payment plugins — and most of them are free. Only the paid methods represent revenue and the others will swamp any blended count.

  2. 2

    PartnerStack needs a click to match

    PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.

  3. 3

    The identifier is the bridge

    The PartnerStack referral key, captured at the visit and carried into the Moodle enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments only, from the server. Free and cohort-synced enrolments must be excluded or the conversion feed is dominated by activity that is not revenue.

  5. 5

    Deduplication at the destination

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

Moodle → PartnerStack · normal or broken

Working vs. broken, side by side — Moodle → PartnerStack

Normal, not a fault

  • The PartnerStack referral key present on the enrolment

  • Sent from the Moodle enrolment event via a webhook plugin or scheduled export

  • Deduplicated correctly

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

  • Reconciles with the source

Actually broken

  • The PartnerStack referral key missing on most records

    Moodle is typically behind a login and often behind a separate marketing site, so the click identifier has to survive from a public page through registration into a user profile field. Institutional single sign-on frequently breaks that chain entirely.

  • Sent from the browser

    Self-enrolment, cohort sync and manual enrolment all create the same record type as a paid one. Counting them teaches bidding to find people who join free courses.

  • Counted twice, or not at all

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  • Nobody has reconciled it

Moodle → PartnerStack · diagnose

Diagnostic order — Moodle → PartnerStack

  1. 01

    Count enrolments carrying the PartnerStack referral key

  2. 02

    Follow one real conversion end to end

  3. 03

    Break down enrolments by enrolment method

    If paid methods are a small minority, that minority is the only thing that should ever reach an ad platform.

  4. 04

    Check whether churn events reach PartnerStack at all

    In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.

  5. 05

    Read the match rate, not the success message

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Moodle → PartnerStack · prove

How it gets proven — Moodle → PartnerStack

Source of truth

Moodle's enrolment records in your own database, filtered to paid enrolment methods.

  • The PartnerStack referral key confirmed present on a live enrolment.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • Paid enrolments confirmed separated from free and cohort-synced ones before anything is sent.

Moodle → PartnerStack · free audit

What we check in the free audit

  • Count enrolments carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Break down enrolments by enrolment method
  • Check whether churn events reach PartnerStack at all
  • Read the match rate, not the success message

Checked against

Moodle's enrolment records in your own database, filtered to paid enrolment methods.

Get my free conversion tracking audit

Free30 minutesNo obligation

Moodle → PartnerStack · when not to buy

When you don't need this — Moodle → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the PartnerStack referral key.
  • If your Moodle is purely internal training with no paid enrolment, there is no conversion here to measure.
  • If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.

Moodle → PartnerStack · what we deliver

What gets built — Moodle → PartnerStack

  • Identifier capture into Moodle

    Capture the identifier on the public site and write it to a Moodle user profile custom field at account creation, so later paid enrolments can be traced back.

  • Event source: the Moodle enrolment event via a webhook plugin or scheduled export

    Send paid enrolments only, from the server. Free and cohort-synced enrolments must be excluded or the conversion feed is dominated by activity that is not revenue.

  • Dispatch to PartnerStack

    Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.

  • Reversals where they exist

    Un-enrolments and refunds where a payment plugin is used should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Moodle's enrolment records in your own database, filtered to paid enrolment methods.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Moodle → PartnerStack questions, answered

It can if you sell subscriptions or memberships that grant Moodle access, reported from your billing system. For one-time course fees, PartnerStack's recurring model adds complexity you do not need.

Free · 30 min

Get Moodle and PartnerStack joined properly

Free30 minutesNo obligation