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:
789 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

Отобразить комментарии
  • Jonathan Ruisánchez
    пт, 11 сент. 2020, 00:07
    hello Vincenzo

    Could you solve your doubts? I have the same questions
  • José Daniel Ameneiros Rodríguez
    чт, 1 окт. 2020, 04:35
    Is it possible to set payment per theme instead of full course?
  • Pep p
    вс, 4 окт. 2020, 22:34
    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
    вт, 10 нояб. 2020, 05:47
    Hello, does anyone have an answer to Vicenzo's questions
  • Emanuele Peri
    вт, 22 дек. 2020, 04:05
    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, 03:22
    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, 18:08
    Hi Daniel

    Thanks for the update. That's great news.

    Regards
    Matt
  • Rachita sharma
    сб, 5 июн. 2021, 03:54
    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, 18:07
    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, 03:18
    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, 14:47
    Hello, is this plugin compatible with the Moodle Version 4.1.2?
  • Z C
    вс, 18 июн. 2023, 19:48
    HI Daniel, just wondering whether there is any way to integrate recurring payments with your paypal plugin? Thanks
  • Daniel Neis Araujo
    вт, 20 июн. 2023, 19:45
    Hi, this plugin does not support recurring payments.
  • Bartosz Ruta
    ср, 3 апр. 2024, 14:42
    When will the compatible version with moodle 4.1 4.2 4.3 be present?
  • David Mudrák
    ср, 3 апр. 2024, 23:48

    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