Enrollment Plugin by Authentication Type

Enrollment Plugin by Authentication Type

par AeonTG User,
Nombre de réponses : 5
Is there a way to assign an enrollment plug-in by authenticated user? For example, we want to students who have self-registered to PayPal the course and users who are authenticated via an external database not pay. I know you can assign an enrollment key that can be provided but as a self serve learning tool getting the key to the enrolled student might be tricky.

Suggestions?
Moyenne des évaluations  -
En réponse à AeonTG User

Re: Enrollment Plugin by Authentication Type

par Ernani da Silva,
I have created a course with paypal, but my problem is that it does not accept brasilian real. How can I change?
En réponse à Ernani da Silva

Re: Enrollment Plugin by Authentication Type

par Alan Barrett,

You can add currencies in enrol/paypal/enrol.php in the variable $paypalcurrencies if that is the ony thing stopping you.

Alan.

En réponse à Alan Barrett

Re: Enrollment Plugin by Authentication Type

par Ernani da Silva,

hello,

Thank you for helping.

After change the file, I could not enter in the moodle. Could you please provide futher information?.  The change done:

    $paypalcurrencies = array(  'USD' => 'US Dollars',
                                'EUR' => 'Euros',
                                'JPY' => 'Japanese Yen',
                                'GBP' => 'British Pounds',
                                'CAD' => 'Canadian Dollars',
                                'AUD' => 'Australian Dollars'
                                'BRL' => 'Brazilian Real'
                             );

En réponse à Ernani da Silva

Re: Enrollment Plugin by Authentication Type

par Steve Roseman,
There should be a comma at the end of the line:

'AUD' => 'Australian Dollars'