Skip to content
All integrationsMoodle

Accepting course payments in Moodle

How it connects
Payment link, no module
What you need
A payment link or your own enrolment plugin

We have no ready-made payment plugin for Moodle. You can take money through a payment link and enrol the student once the payment is confirmed, or automate it by building your own enrolment plugin on top of our API.

Payment and course enrolment are separate actions

Moodle controls access to a course; MulenPay handles payment. Without your own plugin, a successful payment neither creates a student account nor enrols someone on a course. Before launch, decide who verifies payment, how they identify the student and when access is opened.

A manual process works when an administrator can match incoming payments to applications. If students need automatic access immediately after payment, an integration must be developed first. Publishing a payment link alone does not provide that connection.

Matching a student, course and payment

Record which course and cohort the payment covers and how to find the student in Moodle. You can put an internal application number and the course name in the payment purpose. A contact used to send a fiscal receipt is not proof that a matching Moodle account already exists: the two records serve different purposes.

For example, application 307 in your registration list could identify a student and the course “Analytics Basics”. The purpose “application 307, Analytics Basics” helps locate payment, while the application tells you which account to enrol. You maintain that register yourself; MulenPay does not transfer it to Moodle automatically.

Manual enrolment after payment

  1. Create a link for the course price or the agreed training instalment.
  2. Send it with an explanation of when and how the student will receive access.
  3. Find the successful operation in MulenPay and match its amount and purpose to the application.
  4. Locate the student's Moodle account and enrol it on the paid course.
  5. Keep the association between application, course and payment identifier for later enquiries.

If payment has not completed, do not open access through this process yet. Investigate a duplicate payment before processing enrolment twice. After a refund, review course access separately under your own terms: issuing a dashboard refund does not automatically change Moodle enrolment.

Responsibilities of a custom enrolment plugin

A developer associates student, course and payment identifiers, verifies payment confirmation on the server and performs enrolment. A repeated notification for the same operation must not enrol the student again. API keys and notification verification stay on the integration server.

Moodle provides enrolment plugins for this task; payment handling is described in the MulenPay documentation. The existence of these APIs does not mean a ready-made compatible plugin is supplied.

Test the connection in a separate teaching scenario: the right student, the correct course, the confirmed amount, a repeated notification and a refund. Connection terms are on the education payments page.

Installation

  1. 1Create a payment link in the dashboard for the course price.
  2. 2Send it to the student by email or place it on the course description page.
  3. 3Check the payment in the MulenPay dashboard.
  4. 4Enrol the student manually, or automatically if you built your own plugin.

What to fill in

  • The amount

    the course price or a stage of it

  • The payment purpose

    the course name and student details

  • API Key and the secret key

    if you automate enrolment with your own plugin

Common questions

Not unless you built your own enrolment plugin. By default payment and enrolment are separate: you see the payment in the dashboard and open access yourself.

Other platforms

All CMS and platform integrations

Need help with the integration?

Write to us — we will help install the module and verify that payments work.

Let’s talk about your project

Setup, pricing or support — choose the way you prefer to get in touch.

Write to the team

Your name and one contact are enough. Add details if you wish.

How should we contact you?

By clicking the button you agree to the processing of personal data.

TelegramTelegram