Enrolment: Course credit enrolment

Maintained by Picture of Stefan ScholzStefan Scholz
The easiest e-commerce solution for moodle: Use credits to buy courses. Or sync credits with Level Up experience points to create rewards within moodle.
81 sites
12 fans
Current versions available: 1

Credit Enrolment for Moodle

While there are existing solutions to sell courses in moodle, they only cover the requirements to a certain extent: Some of the solutions (e.g. the PayPal and Stripe extensions) work great when courses are sold to individuals. Other solutions (e.g. integrations with courseware, woocommerce etc.) are much more feature rich and provide the full e-commerce experience, including seo, many billing options, invoicing, discounts etc. However, the implementation, maintenance and running cost of such a solution is a lot higher.

Our solution targets medium sized companies who want to sell their courses to business clients (instead of individuals) by introducing a very simple credit system. Business clients can buy a certain number of credits using the existing payment/invoicing processes already in place at all customers (not within moodle). These credits can be assigned to users in moodle (manually or via upload) and then used to “buy” courses. Thus, implementation is basically done in minutes.

Credit enrolment is built as a lightweight enrolment plugin and is available for free here in the Plugins directory.

Key features:

  • store credits in the user’s profile
  • assign a price (=number of credits required) for a course
  • enrol into the course by deducting the required credits from the user who enrols (only if enough credits are available)

Gamification: Rewarding users with XP Enrolment for Level Up

The plugin can also be used with a small add-on to reward users by letting them use their experience points (XP) collected using the popular Level Up Plugin to buy courses. In addition to the motivational effect of gamification, you can now incentivize users for their efforts (=XP) by allowing them to enrol respectively “buy” additional courses using their XP. The features of this plugin are:

  • use your Level Up Experience Points as currency
  • assign a price (=number of experience points required) for a course
  • enrol into the course by deducting the required experience points from the user who enrols

Potential privacy issues



Screenshot #0
Screenshot #1
Screenshot #2


Picture of Stefan Scholz
Stefan Scholz (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Tue, Mar 26, 2019, 10:50 PM
    Approval issue created: CONTRIB-7662
  • Picture of Philipp Coufal
    Fri, Sep 27, 2019, 6:05 AM
    Hey, we've been using your plugin in our moodle page and it works great. Recently we've encountered a bug and we are not quite sure how to fix it. When you manually add a User as an Admin, the User has 0 Credits assigned to his profile but is still able to purchase courses, which circumvents the credit entry fee.. Would you mind looking into this? Thank you very much in advance!
  • Picture of Stefan Scholz
    Fri, Sep 27, 2019, 6:14 AM
    Hi Philipp, happy to learn that you like our plugin! Can you please explain in more detail the problem you have on the bug tracker (linked above) or via e-Mail (support@bdecent.de) – ideally with some screenshots or even a demo account – if possible. Like most contributers, we think that the comments section is not a good place for support. I'm not sure at the moment that I understand you correctly, i.e. what you mean by adding a user; adding to the system? adding to a course? Please also let us know which version of moodle you are using. Thanks, Stefan
  • Picture of Work Entertainment Point
    Sat, Apr 18, 2020, 4:15 PM
    it's not working with 3.8.2 version .. can you please upgrade it
  • Picture of Stefan Scholz
    Tue, Apr 28, 2020, 8:45 PM
    Dear Naima,

    we're currently in the final stage of the release of Video Time 1.3. After that, we'll work on Kickstart 1.1. Once that's done, we can upgrade Credit Enrollment – maybe including a new pro version with some nice additions smile

    But if you can, feel free to provide a pull request.

  • Picture of Stefan Scholz
    Fri, May 1, 2020, 6:56 AM
    Dear Naima,

    can you please report what exactly is not working on your moodle 3.8.2 installation?
    We've tested it on 3.8.2+ and so far did not spot any problems?
    (here's our demo site which runs 3.8.2+ at the time of writing this post http://credit.bdecent.de/)

    Please use the bug tracker for that: https://github.com/stefanscholz/moodle-enrol_credit/issues

    Thank you
  • Picture of Endra Prasetya
    Thu, Jun 4, 2020, 5:22 PM
    Hi Stefan,
    How I can assign credit for users using this plugin. in the default setting the user, credit is 0.
  • Picture of Stefan Scholz
    Thu, Jun 4, 2020, 6:23 PM
    Hi Endra,

    have you seen that there's a documentation page for the plugin here: https://docs.moodle.org/37/en/CreditEnrolment? Copy & pasted from there:

    Before you can use Course credit enrolment, you have to do the following steps:

    1. Create a custom profile field of the type "input field" and name it e.g. "Credits" (can be anything you want)
    2. Set the custom profile field to "locked" to avoid that users change the amount of credits themselves
    *3. Add the credits to that field either via the csv user upload, manually or via a webservice*
    4. Go to Site administration > Plugins > Enrolments > Manage enrol plugins and make sure Course Credit Enrolments is enabled
    5. On the same screen, open the settings of the enrolment method and choose the profile field you've created in the first setting "Profile field mapping".
    6. To use the plugin, add Course credit enrolment as an enrolment method to a course and set the "cost" of the course in the enrolment instance's settings.

    I assume the answer to your question is step 3.

  • Picture of Nestor Acosta
    Sat, Sep 26, 2020, 12:04 AM
    Hi stefan.

    thank so much for your help to this community
    I have a question, How I do to show or print in the user's dashboard the credits balance.?

  • Picture of Tawone Promdecha Education
    Thu, Oct 22, 2020, 9:53 PM
    I can't set up. Please help me.
Please login to post comments