You are here

function uc_recurring_mock_gateway_payment_method in UC Recurring Payments and Subscriptions 7.2

Same name and namespace in other branches
  1. 6.2 test/uc_recurring_mock_gateway.module \uc_recurring_mock_gateway_payment_method()

Implements hook_payment_method().

File

test/uc_recurring_mock_gateway.module, line 11
Uc recurring implementation for the test gateway module.

Code

function uc_recurring_mock_gateway_payment_method() {
  $methods[] = array(
    'id' => 'mock_gateway',
    'name' => t('Mock Recurring Payment Method'),
    'title' => 'Mock Gateway',
    'review' => t('Mock Gateway'),
    'desc' => t('Simulate payment function.'),
    'callback' => 'uc_recurring_method_mock_gateway',
    'weight' => 1,
    'checkout' => TRUE,
    'no_gateway' => TRUE,
  );
  return $methods;
}