You are here

function commerce_worldpay_bg_commerce_payment_method_info in Commerce Worldpay 7

Implements hook_commerce_payment_method_info().

File

./commerce_worldpay_bg.module, line 122
Provides a Worldpay Business Gateway payment method for Drupal Commerce.

Code

function commerce_worldpay_bg_commerce_payment_method_info() {
  $payment_methods = array();
  $payment_methods['commerce_worldpay_bg'] = array(
    'title' => t('Payment via Worldpay'),
    'description' => t('Integration with Worldpay\'s Business Gateway method.'),
    'active' => TRUE,
    'offsite' => TRUE,
    'offsite_autoredirect' => TRUE,
    'callbacks' => array(),
  );
  return $payment_methods;
}