You are here

function commerce_paypal_wpp_commerce_payment_method_info in Commerce PayPal 7

Same name and namespace in other branches
  1. 7.2 modules/wpp/commerce_paypal_wpp.module \commerce_paypal_wpp_commerce_payment_method_info()

Implements hook_commerce_payment_method_info().

File

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

Code

function commerce_paypal_wpp_commerce_payment_method_info() {
  $payment_methods = array();
  $payment_methods['paypal_wpp'] = array(
    'base' => 'commerce_paypal_wpp',
    'title' => t('PayPal WPP - Credit Card'),
    'short_title' => t('PayPal WPP'),
    'display_title' => t('Credit card'),
    'description' => t('PayPal Website Payments Pro'),
  );
  return $payment_methods;
}