You are here

function uc_pma_line_item in Ubercart Payment Method Adjustments 6

Implementation of hook_line_item().

File

./uc_pma.module, line 80
This module hooks into a few different parts of Ubercart to allow store administrators to associate a fee or discount with payment methods.

Code

function uc_pma_line_item() {
  $items[] = array(
    'id' => 'payment_method',
    'title' => t('Payment method'),
    'weight' => 6,
    'stored' => true,
    'default' => FALSE,
    'calculated' => TRUE,
    'display_only' => FALSE,
  );
  return $items;
}