danielneis/moodle-availability_paypal 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

danielneis/moodle-availability_paypal

最新稳定版本:18

Composer 安装命令:

composer require danielneis/moodle-availability_paypal

包简介

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

README 文档

README

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.

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

统计信息

  • 总下载量: 36
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2015-09-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固