You are here

function hook_pay_method_handler_info in Pay 7

Same name and namespace in other branches
  1. 6 pay.api.php \hook_pay_method_handler_info()

This hook is used to inform Pay of available payment method handlers. Administrators will be able to create new instances of payment methods, based on the capabilities and options for your handler(s).

1 function implements hook_pay_method_handler_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

pay_pay_method_handler_info in includes/pay.handlers.inc
Implementation of hook_pay_method_handler_info().

File

./pay.api.php, line 18
Hooks provided by the Pay module.

Code

function hook_pay_method_handler_info() {
  return array(
    'pay_method_custom' => array(
      'title' => t('Custom payment'),
      'description' => t('Manual payment entry, for COD payments, pledges, or manually incrementing a total.'),
      'parent' => 'pay_method',
      'module' => 'example',
    ),
    'pay_method_gateway_pieinthesky' => array(
      'title' => 'Pie in the Sky',
      'description' => t('Payment processing using the Pie in the Sky payment gateway'),
      'parent' => 'pay_method_gateway',
      'module' => 'pieinthesky',
      'path' => drupal_get_path('module', 'pieinthesky') . '/includes',
    ),
  );
}