We require a plugin for Moodle that enables enrollment via Pagseguro. Pagseguro is a brazilian PayPal clone that works in a similar way via an API. We will provide the API documentation and an example in english.
The workflow should be that a student who wants to enroll in a course has to make a payment with Pagseguro and is enrolled automatically after payment confirmation from Pagseguro.
Here you can find the documentation of the Pagseguro API in portuguese:
[url removed, login to view]
The parameters already have english names and we will provide you with further instructions in english as well.