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:
775 sites
401 downloads
74 fans
Current versions available: 4

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

Show comments
  • Jonathan Ruisánchez
    Fri, 11 Sept 2020, 12:07 AM
    hello Vincenzo

    Could you solve your doubts? I have the same questions
  • José Daniel Ameneiros Rodríguez
    Thu, 1 Oct 2020, 4:35 AM
    Is it possible to set payment per theme instead of full course?
  • Pep p
    Sun, 4 Oct 2020, 10:34 PM
    Is there anyway to add subscription/recurrent payments in the plugin?

    I have a course where users pay a subscription in monthly basis.
    Paypal allows to set up subscription/recurrent payments. Is it possible to integrate this on your plugin? If not, are you thinking on integrate it in the near future?

    Thanks for the great plugin and kind regards
  • Jonathan Ruisánchez
    Tue, 10 Nov 2020, 5:47 AM
    Hello, does anyone have an answer to Vicenzo's questions
  • Emanuele Peri
    Tue, 22 Dec 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
    Fri, 5 Mar 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
    Fri, 5 Mar 2021, 6:08 PM
    Hi Daniel

    Thanks for the update. That's great news.

    Regards
    Matt
  • Rachita sharma
    Sat, 5 June 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
    Fri, 18 Feb 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
    Sat, 5 Nov 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
    Tue, 18 Apr 2023, 2:47 PM
    Hello, is this plugin compatible with the Moodle Version 4.1.2?
  • Z C
    Sun, 18 June 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
    Tue, 20 June 2023, 7:45 PM
    Hi, this plugin does not support recurring payments.
  • Bartosz Ruta
    Wed, 3 Apr 2024, 2:42 PM
    When will the compatible version with moodle 4.1 4.2 4.3 be present?
  • David Mudrák
    Wed, 3 Apr 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.

1 2 3 4 5 6
Please login to post comments