function uc_recurring_mock_gateway_payment_method in UC Recurring Payments and Subscriptions 6.2
Same name and namespace in other branches
- 7.2 test/uc_recurring_mock_gateway.module \uc_recurring_mock_gateway_payment_method()
Implementation of 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;
}