You are here

function commerce_payment_example_commerce_payment_method_info in Commerce Core 7

Implements hook_commerce_payment_method_info().

File

modules/payment/modules/commerce_payment_example.module, line 13
Provides an example payment method for Drupal Commerce for testing and development.

Code

function commerce_payment_example_commerce_payment_method_info() {
  $payment_methods = array();
  $payment_methods['commerce_payment_example'] = array(
    'title' => t('Example payment'),
    'description' => t('Demonstrates credit card payment during checkout and serves as a development example.'),
    'active' => TRUE,
  );
  return $payment_methods;
}