function uc_payment_method_other_form in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_payment_pack/uc_payment_pack.module \uc_payment_method_other_form()
1 string reference to 'uc_payment_method_other_form'
- uc_payment_method_other in payment/
uc_payment_pack/ uc_payment_pack.module - Handle the generic payment method "Other."
File
- payment/
uc_payment_pack/ uc_payment_pack.module, line 108 - Provides the check/money order, COD, and "other" payment methods.
Code
function uc_payment_method_other_form($order) {
$form['pm_other_description'] = array(
'#type' => 'textfield',
'#size' => 32,
'#maxlength' => 64,
'#default_value' => $order->payment_details['description'],
);
return $form;
}