<?php
hook_payment_method()
?>Description:
Payment methods are different ways to collect payment. By default, Übercart comes with support for check, credit card, and generic payments. Payment methods show up at checkout or on the order administration screens, and they collect different sorts of information from the user that is used to process or track the payment.
Return value:
An array of payment methods.
Example:
<?php
function uc_payment_payment_method() {
$methods[] = array(
'id' => 'check',
'name' => t('Check'),
'title' => t('Check or Money Order'),
'desc' => t('Pay by mailing a check or money order.'),
'callback' => 'uc_payment_method_check',
'weight' => 1,
'checkout' => TRUE,
);
return $methods;
}
?>
