Course credit enrolment

Enrolment ::: enrol_credit
Maintained by Stefan Scholz, bdecent gmbh
The easiest e-commerce solution for moodle: Use credits to buy courses.
Latest release:
184 sites
96 downloads
40 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.

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)


Try it out

You can see the plugin in action on our test site: https://labs.bdecent.de/

Potential privacy issues

None.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

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

Comments RSS

Show comments
  • Dr Shrikant Mulik
    Fri, 11 June 2021, 1:33 AM
    Stefan,

    With the change suggested by Peter, my problem didn't get solved. Even though I have mentioned 1000 as the default value, it was not used by the plugin when the user tried to enroll in the course. Interestingly, when administrator edited the user profile (without making any change), the user could enroll with available balance of 1000!

    I am not a PHP developer. I tried my best to check the code but couldn't figure out why this is happening.
  • Peter Schmitz
    Fri, 11 June 2021, 2:16 AM
    Did you purge all cashes in Moodle, purge cache in browser? Create a new user, DON'T allocate any credits, go to phpmyadmin, manually add 10.000 credits to that user, go back to Moodle and check that the credits are there in the user profile. Logged in as that user, go purchase the course. After purchasing go to your credit balance and check that there is 9.000 left.
  • Mohammad Nabil
    Mon, 14 June 2021, 5:12 AM
    i set the default value as 5 , so that any new user get credit of 5 , but when i test it for new user , it appear in the user profile 5 credit as expected, but on a test course that i made a 5 credit require it show that the test user balance is zero , again from site admin when edit the user profile , and the log in with test user it works !
  • Hoda Farazandeh
    Sun, 27 June 2021, 4:02 AM
    Hello there, we're happily using your course credit enrolment plugin. The problem is we can't see use group enrolment keys options when we set the enrolment. Can you please help us solve this issue?

    Sincere Regards
  • Melika F
    Sun, 12 Sept 2021, 1:19 AM
    Hello & thanks for your cool plugin. Can you please help us with 2 questions:

    1. Is there any way to know how much credit has been used on the moodle site|courses|activities?
    2. The plugin doesn't send enrolment expiry notification, what may be the reason?
  • Stefan Scholz
    Sun, 12 Sept 2021, 1:20 AM
    Hi Hoda,

    What we usually do is create two custom profile fields - one called „total credits“ and one called „remaining credits“.

    Whenever you „top up“ the students credits, you add the amount to both fields. That way, you can compare the two values.

    A report which lists the transactions would certainly be a good idea though! If you’re interested in that feature, contact us and we can discuss it!

    Best
    Stefan
  • Stefan Scholz
    Sun, 12 Sept 2021, 1:21 AM
    We do not support group enrolment keys by the way; it simply was not in scope when we developed the plugin.
  • Stefan Scholz
    Sun, 12 Sept 2021, 1:26 AM
    Hi Melika,

    We have never tested expiry notifications, so I can’t tell for sure if they work or not. We did not need them when we developed the plugin.

    I’ll test to see if they work on my site.

    Cheers
    Stefan
  • Stefan Scholz
    Tue, 14 Sept 2021, 2:21 AM
    Hi Melika,

    sorry for the late reply — testing this took a while, expiry notification cannot be set to less than a day. The test was positive though, I did receive the expiry notifications as configured and expected:

    | Enrolment in the course 'Credit enrolment' will expire within the next 1 days for the following users:
    | Demo User - Monday, 13 September 2021, 8:21 PM
    | To extend their enrolment, go to https://labs.bdecent.de/user/index.php?id=16

    (I bought the course using credit enrolment, which has a duration of 2 days, and a notification threshold of 1 day)

    One thing that you might want to check is the notifications preferences. Maybe the user you're testing with simply does not have them turned on for whatever reason?

    Feel free to report the issue with more details on our bug tracker: https://github.com/stefanscholz/moodle-enrol_credit/issues

    Cheers
    Stefan
  • P H
    Mon, 6 Dec 2021, 7:02 PM
    Hello. Is this plugin compatible with Google 3.11?
  • P H
    Mon, 6 Dec 2021, 7:19 PM
    Moodle 3.11, obviously. sad
  • Stefan Scholz
    Mon, 6 Dec 2021, 8:39 PM
    Hi P H,

    credit works fine on 3.11. I've added 3.11 as officially supported to the latest version.
    If you run into any issues, please let me know in the bug tracker.

    Best
    Stefan
  • P H
    Tue, 7 Dec 2021, 1:54 PM
    Thanks!
    I'll get back to you if there are any problems.
    Have a nice day!
  • Trevor Glue
    Thu, 31 Mar 2022, 12:33 AM
    Stefan - we adapted the plugin so that credits were aligned with cohorts. As such any student in a cohort can 'buy' a course using the cohort credits. We'd be very happy to share this if it can be adapted into core. Unfortunately you can have either individual credits or cohort credits and not both. We are also making a block to expose to the user how many credits they have left.
  • Stefan Scholz
    Thu, 31 Mar 2022, 12:44 AM
    Hi Trevor,

    That’s great!
    Im happy to review your changes.

    Are you aware that our plugin dash can be used to display the credits? Check it out, maybe it suits your needs.

    Feel free to reach out directly and we can discuss the integration.

    Cheers
    Stefan
1 2 3
Please login to post comments