Enrollment Plugin by Authentication Type

Enrollment Plugin by Authentication Type

by AeonTG User -
Number of replies: 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?
Average of ratings: -
In reply to AeonTG User

Re: Enrollment Plugin by Authentication Type

by 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?
In reply to Ernani da Silva

Re: Enrollment Plugin by Authentication Type

by Alan Barrett -

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

Alan.

In reply to Alan Barrett

Re: Enrollment Plugin by Authentication Type

by 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'
                             );

In reply to Ernani da Silva

Re: Enrollment Plugin by Authentication Type

by Steve Roseman -
There should be a comma at the end of the line:

'AUD' => 'Australian Dollars'
In reply to Steve Roseman

Re: Enrollment Plugin by Authentication Type

by Ernani da Silva -

ops....my fault....It is working.

Thanks very much