You are here

function commerce_paypal_wpp_currencies in Commerce PayPal 7

Returns an array of all possible Direct Payment currency codes.

3 calls to commerce_paypal_wpp_currencies()
commerce_paypal_wpp_default_settings in modules/wpp/commerce_paypal_wpp.module
Returns the default settings for the PayPal WPP payment method.
commerce_paypal_wpp_settings_form in modules/wpp/commerce_paypal_wpp.module
Payment method callback: settings form.
commerce_paypal_wpp_submit_form_submit in modules/wpp/commerce_paypal_wpp.module
Payment method callback: checkout form submission.

File

modules/wpp/commerce_paypal_wpp.module, line 608
Implements PayPal Website Payments Pro in Drupal Commerce checkout.

Code

function commerce_paypal_wpp_currencies() {
  return drupal_map_assoc(array(
    'AUD',
    'CAD',
    'CHF',
    'CZK',
    'DKK',
    'EUR',
    'GBP',
    'HKD',
    'HUF',
    'JPY',
    'NOK',
    'NZD',
    'PLN',
    'SEK',
    'SGD',
    'USD',
  ));
}