function commerce_paypal_wps_currencies in Commerce PayPal 7
Returns an array of all possible currency codes.
3 calls to commerce_paypal_wps_currencies()
- commerce_paypal_wps_default_settings in modules/
wps/ commerce_paypal_wps.module - Returns the default settings for the PayPal WPS payment method.
- commerce_paypal_wps_order_form in modules/
wps/ commerce_paypal_wps.module - Builds a Website Payments Standard form from an order object.
- commerce_paypal_wps_settings_form in modules/
wps/ commerce_paypal_wps.module - Payment method callback: settings form.
File
- modules/
wps/ commerce_paypal_wps.module, line 515 - Implements PayPal Website Payments Standard in Drupal Commerce checkout.
Code
function commerce_paypal_wps_currencies() {
return drupal_map_assoc(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',
));
}