You are here

function uc_credit_order_view_form in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_credit/uc_credit.module \uc_credit_order_view_form()
  2. 7.3 payment/uc_credit/uc_credit.module \uc_credit_order_view_form()
1 string reference to 'uc_credit_order_view_form'
uc_payment_method_credit in payment/uc_credit/uc_credit.module

File

payment/uc_credit/uc_credit.module, line 1172
Defines the credit card payment method and hooks in payment gateways.

Code

function uc_credit_order_view_form($order_id) {
  $form['order_id'] = array(
    '#type' => 'hidden',
    '#value' => $order_id,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Process card'),
  );
  return $form;
}