This plugin is a standalone Paypal activity module, i.e., you may use it to unlock other activities in a course in the Restricting access options. This offers more flexibility than the core enrol Paypal feature as you can open a course to the general public but restrict access to some of the content therein.
This works great if you want to unlock a bunch of activities in a course at once. However, Daniel is already working on an improved feature, by adding Paypal as an availability condition for any type of activity. I am convinced that this will be a great addition to Moodle and a great asset for the Moodle community. Some of us must raise money to get the proper resources for creating and ensuring the highest quality of our training programs/material. The first beta version of the Paypal availability feature is available here and open for testing and comments:
https://github.com/danielneis/moodle-availability_paypal
This is the first project I am doing with Daniel and I must say he is a very good developer.
Cheers,
Sebastien
Hi, Sebastien and Daniel.
Thanks for the contribution! This seems to be definitely what I'm looking for in a project. Which moodle versions are compatible with the module? I tried to run it on 2.4 and it throws the following error:
Debug info: Missing version value in version.php
Error code: detectedbrokenplugin
Thanks a lot in advance!
Eder
Re: Paypal for specific Activities within a Course
Hello,
as Availability Conditions Plugins were introduced only in Moodle 2.7 release, this plugin will not be supported for earlier versions.
https://docs.moodle.org/dev/Availability_conditions
Please, update your Moodle site as 2.4 release will complete 4 years old ;)
Kind regards,
Daniel
Paypal enrollment is built into core moodle. Just enable it and then follow instructions for setting it up. I have no idea what you mean by "availability condition"?
Re: Paypal for specific Activities within a Course
Availability Conditions are the "options" to "Restrict access"
https://docs.moodle.org/33/en/Restrict_access
Here is the paypal plugin:
Thanks for the reply. Yes.. I have seen the "Availability conditions" Paypal plugin. But I need the enrollment plugin for Paypal which was available before. Is there any way to get the same?