Skip to content

An Availability Condition for Moodle to require a PayPal payment to access activities and resources.

License

Notifications You must be signed in to change notification settings

danielneis/moodle-availability_paypal

Repository files navigation

PayPal Availability Condition for Moodle

With this plugins, you can put a price in any course content and ask for a PayPal payment to allow access.

The person in charge to configure the enrolment method on the course will be able to configure the enrolment cost's value and currency.

The user will be able to pay in some other currency at PayPal website. The conversion rates will be calculated and applied by PayPal.

It works only with "course modules and resources". The support to "course sections" or "topics" is not yet implemented.

Install

Usage

This works like the PayPal enrol plugin, but instead of restricting the full course, you can restrict individual activities, resources or sections (and you can combine it with other availability conditions, for example, to exclude some group from paying using an "or" restriction set).

For each restriction you add, you can set a business email address, cost, currency, item name and item number.

In case of problems with the payment, all users with the capability "Receive payment notifications" (availability/paypal:receivenotifications) are notified via email and Moodle messaging. If there is no dedicated user with that capability, all site administrators are notified by default.

Funding

The development of this plugin was funded by TRREE - TRAINING AND RESOURCES IN RESEARCH ETHICS EVALUATION - http://www.trree.org/

Dev Info

Please, report issues at: https://github.com/danielneis/moodle-availability_paypal/issues

Feel free to send pull requests at: https://github.com/danielneis/moodle-availability_paypal/pulls

Travis-CI Build Status Scrutinizer Code Quality

About

An Availability Condition for Moodle to require a PayPal payment to access activities and resources.

Resources

License

Stars

Watchers

Forks

Packages

No packages published