Created
July 10, 2015 12:32
-
-
Save cryptixcoder/9be38871fde03f4bf403 to your computer and use it in GitHub Desktop.
Paypal Currency and format array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$currencies = array( | |
'AUD' => array( | |
'label' => 'Australian Dollar', | |
'format' => '$ %s', | |
), | |
'CAD' => array( | |
'label' => 'Canadian Dollar', | |
'format' => '$ %s', | |
), | |
'EUR' => array( | |
'label' => 'Euro', | |
'format' => '€ %s', | |
), | |
'GBP' => array( | |
'label' => 'Pound Sterling', | |
'format' => '£ %s', | |
), | |
'JPY' => array( | |
'label' => 'Japanese Yen', | |
'format' => '¥ %s', | |
), | |
'USD' => array( | |
'label' => 'U.S. Dollar', | |
'format' => '$ %s', | |
), | |
'NZD' => array( | |
'label' => 'N.Z. Dollar', | |
'format' => '$ %s', | |
), | |
'CHF' => array( | |
'label' => 'Swiss Franc', | |
'format' => '%s Fr', | |
), | |
'HKD' => array( | |
'label' => 'Hong Kong Dollar', | |
'format' => '$ %s', | |
), | |
'SGD' => array( | |
'label' => 'Singapore Dollar', | |
'format' => '$ %s', | |
), | |
'SEK' => array( | |
'label' => 'Swedish Krona', | |
'format' => '%s kr', | |
), | |
'DKK' => array( | |
'label' => 'Danish Krone', | |
'format' => '%s kr', | |
), | |
'PLN' => array( | |
'label' => 'Polish Zloty', | |
'format' => '%s zł', | |
), | |
'NOK' => array( | |
'label' => 'Norwegian Krone', | |
'format' => '%s kr', | |
), | |
'HUF' => array( | |
'label' => 'Hungarian Forint', | |
'format' => '%s Ft', | |
), | |
'CZK' => array( | |
'label' => 'Czech Koruna', | |
'format' => '%s Kč', | |
), | |
'ILS' => array( | |
'label' => 'Israeli New Sheqel', | |
'format' => '₪ %s', | |
), | |
'MXN' => array( | |
'label' => 'Mexican Peso', | |
'format' => '$ %s', | |
), | |
'BRL' => array( | |
'label' => 'Brazilian Real', | |
'format' => 'R$ %s', | |
), | |
'MYR' => array( | |
'label' => 'Malaysian Ringgit', | |
'format' => 'RM %s', | |
), | |
'PHP' => array( | |
'label' => 'Philippine Peso', | |
'format' => '₱ %s', | |
), | |
'TWD' => array( | |
'label' => 'New Taiwan Dollar', | |
'format' => 'NT$ %s', | |
), | |
'THB' => array( | |
'label' => 'Thai Baht', | |
'format' => '฿ %s', | |
), | |
'TRY' => array( | |
'label' => 'Turkish Lira', | |
'format' => 'TRY %s', // Unicode is ₺ but this doesn't seem to be widely supported yet (introduced Sep 2012) | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment