PayPal

Availability restriction ::: availability_paypal
Maintained by Daniel Neis Araujo
An Availability Condition to require a PayPal payment to access activities and resources.
Latest release:
710 sites
313 downloads
79 fans
Current versions available: 5

PayPal Availability Condition

With this plugin 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.

Install

  • Put these files at moodle/availability/condition/paypal/
  • Log in your Moodle as Admin and go to "Notifications" page
  • Follow the instructions to install the plugin
  • You must set the "Return URL" at PayPal to https://YOURMOODLESITEADDRESS/availability/condition/paypal/ipn.php (this may conflict with Moodle's enrollment PayPal plugin, make sure you use separate apps if you use PayPal enrollment)
  • You must activate the IPN at your PayPal account
  • You must have HTTPS enabled and working on your Moodle site

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 and "or" restriction set).

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

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

Screenshots

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

Contributors

Daniel Neis Araujo (Lead maintainer)
David Mudrák: Contributor
Please login to view contributors details and/or to contact them

Comments RSS

Εμφάνιση σχολίων
  • Jonathan Ruisánchez
    Τρί, 10 Νοε 2020, 5:47 AM
    Hello, does anyone have an answer to Vicenzo's questions
  • Emanuele Peri
    Τρί, 22 Δεκ 2020, 4:05 AM
    Hi, thanks for developing this plugin.

    I have a problem when I use the plugin on different sections of the same course. Even if I set different item name, item number and price, if I unlock one section, it automatically unlocks the others as well. For payments I use the same paypal account.

    my version of moodle is 3.6.3 and I use version 11 (2020072100) of the plugin
  • Daniel Neis Araujo
    Παρ, 5 Μαρ 2021, 3:22 AM
    Hello,

    I just made available a version that checks for the amount paid to be equal the cost defined.

    It's not possible to set payment per theme.

    If you want to manually add users to access the activity you should create a group, add the user as member, add a group restriction to the activity and configure to make a payment OR belong to group.

    I'll check the issue with the sections and let you know.
  • Matt Barets
    Παρ, 5 Μαρ 2021, 6:08 PM
    Hi Daniel

    Thanks for the update. That's great news.

    Regards
    Matt
  • Rachita sharma
    Σάβ, 5 Ιουν 2021, 3:54 AM
    Hi
    I installed the paypal version for moodle 3.9 and the plugin is enabled but the settings are not visible in the plugins overview of Paypal.
    Please let me know what I can do
  • Shiyghan Navti
    Παρ, 18 Φεβ 2022, 6:07 PM
    paymentwaitremider appears to be missing from the availability_paypal.php en language file. I also believe there is a spelling mistake in the string. Should be paymentwaitreminder
  • Whatsizface Whatsizface
    Σάβ, 5 Νοε 2022, 3:18 AM
    Hello, is it possible to only enable the PayPal plugin for visitors OUTSIDE a specific country?

    ie.
    The specific country gets the courses for free. Everyone else must pay for them.

    thanks.
  • Nursena Konur
    Τρί, 18 Απρ 2023, 2:47 PM
    Hello, is this plugin compatible with the Moodle Version 4.1.2?
  • Z C
    Κυρ, 18 Ιουν 2023, 7:48 PM
    HI Daniel, just wondering whether there is any way to integrate recurring payments with your paypal plugin? Thanks
  • Daniel Neis Araujo
    Τρί, 20 Ιουν 2023, 7:45 PM
    Hi, this plugin does not support recurring payments.
  • Bartosz Ruta
    Τετ, 3 Απρ 2024, 2:42 PM
    When will the compatible version with moodle 4.1 4.2 4.3 be present?
  • David Mudrák
    Τετ, 3 Απρ 2024, 11:48 PM

    Looking at https://moodle.org/plugins/availability_paypal/stats you will find there are many 4.1+ sites having this plugin installed. I would expect it just work -- plugins in Moodle are generally forward compatible without issues.

  • Matt Townend
    Παρ, 16 Αυγ 2024, 9:53 PM
    Hi Daniel - great job on the plugin! Question - it seems a single payment can only unlock a single restricted activity / section. Is that right? I have a course and I was hoping one single payment could unlock all restricted sections at once. Any way this can be done? I presumed this was why there was an item name and number - so if they matched in all the restriction settings then they would all unlock. Thanks for the help!
  • Simon Quutznär
    Παρ, 6 Δεκ 2024, 2:15 AM
    Hello! Does the plugin work with 4.5? Can I upgrade to Moodle 4.5 without lossing the paypal-Option?
  • Dillon Richardson
    Δευ, 17 Μαρ 2025, 9:14 AM
    Is there any possibility to allow the export of the report to CSV and/or utilize Moodle Custom Reports with this as a Source?
1 2 3 4 5 6
Please login to post comments