Giter Site home page Giter Site logo

mdevine82 / moodle-availability_paypal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielneis/moodle-availability_paypal

0.0 0.0 0.0 70 KB

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

Home Page: https://moodle.org/plugins/availability_paypal

License: GNU General Public License v3.0

PHP 94.39% Gherkin 5.61%

moodle-availability_paypal's Introduction

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

  • Put these files at moodle/availability/condition/paypal/
  • You may use composer
  • or git clone
  • or download the latest version from https://github.com/danielneis/moodle-availability_paypal/archive/master.zip
  • Log in your Moodle as Admin and go to "Notifications" page
  • Follow the instructions to install the plugin
  • You must activate the IPN at your PayPal account
  • You must also use HTTPS 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 an "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

Travis-CI Build Status Scrutinizer Code Quality

moodle-availability_paypal's People

Contributors

danielneis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.