GithubHelp home page GithubHelp logo

nikhildatta / moodle-enrol_payumoney Goto Github PK

View Code? Open in Web Editor NEW

This project forked from examtutor/moodle-enrol_payumoney

0.0 0.0 1.0 119 KB

PayU Money Payment Gateway Moodle Integration

License: GNU General Public License v3.0

PHP 100.00%
moodle-plugin moodle

moodle-enrol_payumoney's Introduction

Moodle Enrol PayUMoney

PayU Money Payment Gateway Moodle Integration Enrolment in Moodle using PayUMoney payment gateway for paid courses

This plugin helps admins and webmasters use PayUMoney as the payment gateway. PayUMoney.com is one of the most commonly used payment gateways in India offers considerable number of features unsupported by other payment gateways like Paypal. This plugin has all the settings for development as well as for production usage. Its easy to install, set up and effective.

Installation Guidence : Login to your moodle site as an “admin user” and follow the steps.

  1. Upload the zip package from Site administration > Plugins > Install plugins. Choose Plugin type 'Enrolment method (enrol)'. Upload the ZIP package, check the acknowledgement and install.

  2. Go to Enrolments > Manage enrol plugins > Enable 'PayUMoney' from list

  3. Click 'Settings' which will lead to the settings page of the plugin

  4. Provide merchant credentials for PayUMoney, select the checkbox as per requirement. Save the settings.

  5. Select any course from course listing page.

  6. Go to Course administration > Users > Enrolment methods > Add method 'PayUMoney' from the dropdown. Set 'Custom instance name', 'Enrol cost' etc and add the method.

This completes all the steps from the administrator end. Now registered users can login to the Moodle site and view the course after a successful payment.

Note: You may need to edit the Default Relay Response URL "http://your_moodle_website/enrol/payumoney/ipn.php" to your taste

To get your Key and Salt, please visit your merchant dashboard at https://www.payumoney.com/merchant/activation/#/collectPayments

moodle-enrol_payumoney's People

Contributors

nikhildatta avatar examtutor avatar

Forkers

abdulig

moodle-enrol_payumoney's Issues

missing privacy api

Moodle uses a privacy API for GDPR compliance to allow plugins to specify how they deal with user data.

Sites that use continuous integration processes will not be able to use your plugin because Moodle runs unit tests which check to see if all extra plugins include the privacy class.

More information on the privacy class is here:
https://docs.moodle.org/dev/Privacy_API

please note this is not a block for approval in the plugins db at this stage.

invalid install.xml file.

It looks like your install.xml file has been generated by hand or copy/pasted incorrectly

to fix this up se the xmldb editor to load the install.xml file, make a change like adding some text to the descriptoin, and then use the xmldb editor built in tools to save the file. You may need to change the file permissions on disk so that xmldb can save it directly.

more info on the xmldb editor is here:
https://docs.moodle.org/dev/Using_XMLDB

consider adding travis-ci support

Some of the tests run by the Moodle.org plugins db can be run via travis-ci on each commit in your github repo. Enabling Travis integration helps you to make sure future changes to your plugin will continue to follow the guidelines.

More information on this is here:
https://moodle.org/mod/forum/discuss.php?d=323384

but the short version:
grab this file:
https://github.com/moodlerooms/moodle-plugin-ci/blob/master/.travis.dist.yml
rename it as .travis.yml and put in the root of your github directory.
Go to:
https://travis-ci.org/profile/YOUR_GITHUB_USERNAME
Flick the switch for this repo.

then on every commit you make to github it will fire off a request to travis to run the tests in .travis.yml and will give you traffic lights beside each commit and generate a report.

something else you might want to change:
in .travis.yml the default file has this line:

env:
global:

MOODLE_BRANCH=MOODLE_35_STABLE
you might want to add other branches to that list - so you might want to change it something like:

env:
global:
MOODLE_BRANCH=MOODLE_35_STABLE
MOODLE_BRANCH=MOODLE_36_STABLE
MOODLE_BRANCH=MOODLE_37_STABLE

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.