function uc_payment_uc_payment_method in Ubercart 7.3
Implements hook_uc_payment_method().
File
- payment/
uc_payment/ uc_payment.module, line 233
Code
function uc_payment_uc_payment_method() {
$methods['free_order'] = array(
'name' => t('Free order'),
'title' => t('No payment required'),
'desc' => t('Allow customers with !zero order totals to checkout without paying.', array(
'!zero' => uc_currency_format(0),
)),
'callback' => 'uc_payment_method_free_order',
'checkout' => TRUE,
'no_gateway' => TRUE,
'weight' => 0,
);
return $methods;
}