You are here

function _uc_paypal_currency_array in Ubercart 7.3

Same name and namespace in other branches
  1. 5 payment/uc_paypal/uc_paypal.module \_uc_paypal_currency_array()
  2. 6.2 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_ec in payment/uc_paypal/uc_paypal.module
Handles the Express Checkout payment method.
uc_payment_method_paypal_wps in payment/uc_paypal/uc_paypal.module
Handles the Website Payments Standard payment method.

File

payment/uc_paypal/uc_paypal.module, line 1243
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',
  ));
}