Skip to content

Commit

Permalink
MDL-42612 add support for Russian Ruble in PayPal
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 18, 2013
1 parent b58bc15 commit 93d31b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/paypal/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function get_currencies() {
// 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');
Expand Down

0 comments on commit 93d31b5

Please sign in to comment.