function commerce_paypal_ec_commerce_payment_method_info in Commerce PayPal 7.2
Implements hook_commerce_payment_method_info().
File
- modules/
ec/ commerce_paypal_ec.module, line 196 - Implements PayPal Express Checkout in Drupal Commerce checkout.
Code
function commerce_paypal_ec_commerce_payment_method_info() {
$payment_methods = array();
$payment_methods['paypal_ec'] = array(
'base' => 'commerce_paypal_ec',
'buttonsource' => 'CommerceGuys_Cart_EC',
'title' => t('PayPal Express Checkout'),
'short_title' => t('PayPal EC'),
'description' => t('PayPal Express Checkout'),
'terminal' => FALSE,
'offsite' => TRUE,
'offsite_autoredirect' => TRUE,
);
return $payment_methods;
}