Plugin de inscrição via PagSeguro para o Moodle
The PagSeguro enrolment plugin allows you to set up paid courses.
The plugin has to be enabled by the site administrator and then added to the course by an administrator or manager.
You can then set an individual price for your course if needed.
This is an updated version based on https://moodle.org/plugins/view.php?plugin=enrol_pagseguro
You can install it via the Moodle administrator interface, if enabled on your Moodle site.
Or you can download the source code and put it on the "moodle/enrol/pagseguro" directory.
You can use git clone to do this or download the latest version from github at https://github.com/danielneis/moodle-enrol_pagseguro/archive/master.zip
- First, enable the plugin at Administration block > Site Administration > Plugins > Enrolments > Manage enrol plugins
- Then, go to its settings
- You must create a token at the PagSeguro website and use it to configure your Moodle plugin.
- Also, at the PagSeguro website, you should set the field "Código de transação para página de redirecionamento" with "transaction_id" (without quotes).
- Now you can go to any course and add the PagSeguro enrol method. There you will set the cost, currency and the email for the PagSeguro account that will be credited.