You are here

function commerce_paypal_payment_methods in Commerce PayPal 7.2

Returns an array of PayPal payment methods.

3 calls to commerce_paypal_payment_methods()
commerce_payflow_link_default_settings in modules/payflow/commerce_payflow.module
Returns the default settings for the PayPal WPS payment method.
commerce_payflow_link_settings_form in modules/payflow/commerce_payflow.module
Payment method callback: settings form.
commerce_paypal_icons in ./commerce_paypal.module
Returns an array of PayPal payment method icon img elements.

File

./commerce_paypal.module, line 628
Implements PayPal payment services for use with Drupal Commerce.

Code

function commerce_paypal_payment_methods() {
  return array(
    'visa' => t('Visa'),
    'mastercard' => t('Mastercard'),
    'amex' => t('American Express'),
    'discover' => t('Discover'),
    'dinersclub' => t('Diners Club'),
    'jcb' => t('JCB'),
    'unionpay' => t('UnionPay'),
    'echeck' => t('eCheck'),
    'paypal' => t('PayPal'),
  );
}