mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-42612 add support for Russian Ruble in PayPal
This commit is contained in:
parent
b58bc15af5
commit
93d31b5d77
@ -38,7 +38,7 @@ class enrol_paypal_plugin extends enrol_plugin {
|
||||
// 3-character ISO-4217: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_currency_codes
|
||||
$codes = array(
|
||||
'AUD', 'BRL', 'CAD', 'CHF', 'CZK', 'DKK', 'EUR', 'GBP', 'HKD', 'HUF', 'ILS', 'JPY',
|
||||
'MXN', 'MYR', 'NOK', 'NZD', 'PHP', 'PLN', 'SEK', 'SGD', 'THB', 'TRY', 'TWD', 'USD');
|
||||
'MXN', 'MYR', 'NOK', 'NZD', 'PHP', 'PLN', 'RUB', 'SEK', 'SGD', 'THB', 'TRY', 'TWD', 'USD');
|
||||
$currencies = array();
|
||||
foreach ($codes as $c) {
|
||||
$currencies[$c] = new lang_string($c, 'core_currencies');
|
||||
|
Loading…
x
Reference in New Issue
Block a user