You are here

function commerce_purchase_order_commerce_payment_method_info in Commerce Purchase Order 7

Implements hook_commerce_payment_method_info().

File

./commerce_purchase_order.module, line 87
Provides an example payment method for Drupal Commerce for testing and development.

Code

function commerce_purchase_order_commerce_payment_method_info() {
  $payment_methods = array();
  $payment_methods['commerce_purchase_order'] = array(
    'title' => t('Purchase Order'),
    'description' => t('Grant customers permission to pay by purchase order.'),
    'active' => TRUE,
  );
  return $payment_methods;
}