You are here

function _uc_paypal_currency_array in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_paypal/uc_paypal.module \_uc_paypal_currency_array()
  2. 7.3 payment/uc_paypal/uc_paypal.module \_uc_paypal_currency_array()

Returns an array of possible currency codes.

2 calls to _uc_paypal_currency_array()
uc_payment_method_paypal_wps in payment/uc_paypal/uc_paypal.module
Handles the Website Payments Standard payment method.
uc_paypal_wpp_settings_form in payment/uc_paypal/uc_paypal.module
Settings for Website Payments Pro on the Payment gateways form.

File

payment/uc_paypal/uc_paypal.module, line 1293
Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!

Code

function _uc_paypal_currency_array() {
  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',
    'TWD',
    'USD',
  ));
}