Paypal for specific Activities within a Course

Re: Paypal for specific Activities within a Course

by Daniel Neis Araujo -
Number of replies: 9
Picture of Core developers Picture of Plugin developers Picture of Translators

Hello,


i am a Moodle developer and this is easy to do =)


I was planning to do this on a not so far future.

Also, i will implement a patch to the current enrol plugin that let you configure one email per instance instead of a global one.

If you want more, we can also take a look at how Paypal handle multiple payments and add this to both plugins.


What do you say?


Kind regards,

Daniel

(Edited by Howard Miller, removing part about funding at poster's request - original submission Monday, 6 April 2015, 2:42 PM)

In reply to Daniel Neis Araujo

Re: Paypal for specific Activities within a Course

by Sebastien M. -
Hello everyone,

I apologize for delay & I thank you all for your suggestions.

@Stuart: I had thought of this but I don't like the idea of creating dummy courses for the only purpose of delivering certificates, as this would become burdensome in the long run.

@Daniel, I will contact you by PM. I am willing to fund this feature as I am sure it would be appreciated by the community.

Regards,

Seb
In reply to Sebastien M.

Re: Paypal for specific Activities within a Course

by Daniel Neis Araujo -
Picture of Core developers Picture of Plugin developers Picture of Translators

Hello, everybody


I've made available a first beta version of the PayPal activity module.

https://github.com/danielneis/moodle-mod_paypal


Hope that you like.


Kind regards,

Daniel

In reply to Daniel Neis Araujo

Re: Paypal for specific Activities within a Course

by Sebastien M. -
Hello,

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
In reply to Sebastien M.

Re: Paypal for specific Activities within a Course

by Eder dos Santos -

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

In reply to Eder dos Santos

Re: Paypal for specific Activities within a Course

by Daniel Neis Araujo -
Picture of Core developers Picture of Plugin developers Picture of Translators

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

In reply to Daniel Neis Araujo

Re: Paypal for specific Activities within a Course

by Sudeep S -
Is there Paypal enrollment plugin available? Right now I am seeing only Paypal availability condition. Please suggest
In reply to Sudeep S

Re: Paypal for specific Activities within a Course

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

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"?

In reply to Emma Richardson

Re: Paypal for specific Activities within a Course

by Daniel Neis Araujo -
Picture of Core developers Picture of Plugin developers Picture of Translators

Availability Conditions are the "options" to  "Restrict access"

https://docs.moodle.org/33/en/Restrict_access

Here is the paypal plugin:

https://moodle.org/plugins/availability_paypal

In reply to Daniel Neis Araujo

Re: Paypal for specific Activities within a Course

by Sudeep S -
Hello,

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?