Interchange Reference Pages: Global and catalog variables


For a complete introduction to Interchange variables, please see the variable glossary entry.

Table of Contents

ACTIVE_SESSION_MINUTES — specify maximum session age for [dump-session]
BACKUP_DIRECTORY — specify directory used to dump database backups
BREADCRUMB_EXCLUDE
BREADCRUMB_MAX
BREADCRUMB_ONLY_LAST
CAPTCHA_IMAGE_LOCATION — specify directory containing generated "captcha" images
CAPTCHA_IMAGE_PATH — specify web server path containing "captcha" images
CAPTCHA_IMAGE_SUBDIR — specify subdirectory containing "captcha" images
CAPTCHA_UMASK
CGIWRAP_WORKAROUND — fix Cobalt CGIWrap problem
COMPANY — specify company or entity name
CONTRAST
COUNTRY — (obsolete)
CSS_CONTRAST — CSS class to designate problems
CYBER_CONFIGFILE
CYBER_CURRENCY
CYBER_HOST
CYBER_ID — specify ID for communication with selected payment gateways
CYBER_PORT — specify port for communication with selected payment gateways
CYBER_PRECISION — specify precision to be used with selected payment gateways
CYBER_SECRET — (partly documented)
CYBER_SERVER — (partly documented)
DEBUG — enable Interchange debugging
DESCRIPTIONFIELDS
DOCROOT — filesystem path to catalog's document root
ECHO_PAYMENT_DEBUG
ECHO_PAYMENT_ID — (partly documented)
ECHO_PAYMENT_ISP_ECHO_ID
ECHO_PAYMENT_ISP_PIN
ECHO_PAYMENT_MERCHANT_EMAIL
ECHO_PAYMENT_ORDER_TYPE
ECHO_PAYMENT_PRECISION — (partly documented)
ECHO_PAYMENT_SECRET — (partly documented)
ECHO_PAYMENT_SERVER — (partly documented)
FORUM_ANON_NAME
GIFT_CERT_COUNTER
GIFT_CERT_LOCK_TABLE
GIFT_CERT_REDEEM_TABLE
GIFT_CERT_TABLE
GPG_PATH — location of the gpg program
HEADERBG
HEADERTEXT
HTMLAREA_FLAVOUR — selects rich text editor flavour
HTMLAREA_LANG
HTMLAREA_PATH
IMAGEFIELDS
IMAGE_DIR — (obsolete)
IMAGE_MOGRIFY — specify path to the ImageMagick mogrify command
LABEL
LANG — contains the current locale for language (localization) display
MV_AUTOLOAD — (partly documented)
MV_BAD_LOCK — work around a problem in systems with broken locking mechanism
MV_COMPONENT_CACHE
MV_COMPONENT_DIR — (partly documented)
MV_COMPONENT_TABLE — database name for components
MV_COUNTRY_FIELD — name of form field whose value will be used as key to perform lookup in the MV_COUNTRY_TABLE
MV_COUNTRY_TABLE — name of database containing countries, country codes, etc.
MV_COUNTRY_TAX_FIELD — name of column containing country-wide tax information
MV_COUNTRY_TAX_VAR
MV_CREDIT_CARD_INFO_TEMPLATE
MV_DEFAULT_LINK_CLASS
MV_DEFAULT_MATCHLIMIT — specifies the number of search results per page
MV_DEFAULT_SEARCH_DB — (partly documented)
MV_DEFAULT_SEARCH_FILE — (partly documented)
MV_DEFAULT_SEARCH_TABLE — (partly documented)
MV_DHTML_BROWSER — regular expression matching HTTP user agents with DHTML support
MV_DOLLAR_ZERO — control visual display of Interchange processes in the process list
MV_EMAIL_CHARSET
MV_EMAIL_INTERCEPT — intercept all outgoing email and redirect it to the specified address
MV_ERROR_STD_LABEL — (partly documented)
MV_FILE — contains the name of the last file read or of an external Perl routine
MV_FORTUNE_COMMAND — location of the Unix fortune program
MV_GETPPID_BROKEN — fix getppid() which is broken on Linux systems with thread-enabled Perl
MV_HELO — the HELO string to send when using SMTP to send mail
MV_HTML4_COMPLIANT — output HTML4-compliant HTML code
MV_HTTP_CHARSET
MV_MAILFROM — specifies the default sender e-mail address when SMTP is used to send mail
MV_MENU_DIRECTORY — directory for menu files
MV_NO_CRYPT — disable the use of password encryption server-wide
MV_ONFLY_FIELDS
MV_ONFLY_JOINER
MV_OPTION_TABLE — name of database for product options
MV_OPTION_TABLE_MAP — applies column mapping to all options types
MV_OPTION_TABLE_SIMPLE
MV_ORDER_COUNTER_FILE
MV_PAGE — contains the relative pathname of the current page
MV_PAYMENT_BILLING_INDICATOR
MV_PAYMENT_BILLING_SET
MV_PAYMENT_CURRENCY — currency for payment gateway
MV_PAYMENT_HOST
MV_PAYMENT_ID — specifies merchant identifier
MV_PAYMENT_MODE — payment gateway mode name
MV_PAYMENT_OTHER_CARD
MV_PAYMENT_PRECISION — (partly documented)
MV_PAYMENT_REMAP
MV_PAYMENT_SECRET — password for the payment gateway
MV_PAYMENT_SERVER — hostname or IP of the payment gateway
MV_PAYMENT_TRANSACTION
MV_PREV_PAGE — contains the relative pathname of the last page read
MV_ROBOT_EXPIRE
MV_SEARCH_FILE
MV_SESSION_ID
MV_SESSION_READ_RETRY — specifies the number of times to retry reading the session file
MV_SHIP_ADDRESS_TEMPLATE — (partly documented)
MV_SHIP_MODIFIERS
MV_SMTPHOST — specifies the default sender hostname when SMTP is used to send mail
MV_SMTP_TIMEOUT
MV_STATE_REQUIRED
MV_STATE_TABLE — name of database containing state, country and province information
MV_STATE_TAX_FIELD — name of column containing state-wide tax information
MV_SUBJECT — (partly documented)
MV_TAX_CATEGORY_FIELD — name of column containing enumerated tax types, based on product category
MV_TAX_TYPE_FIELD — name of column containing enumerated tax names
MV_TRACK_ADMIN
MV_TREE_TABLE — database name for tree menus
MV_USERDB_ACL_COLUMN
MV_USERDB_ACL_TABLE
MV_USERDB_REMOTE_USER — (partly documented)
MV_USE_CRYPT
MV_UTF8
MV_VALID_PROVINCE — (partly documented)
MV_VALID_STATE — (partly documented)
MV_VARIANT_JOINER
MV_ZIP_REQUIRED
PAGE
PAGE_TITLE_NAME — (partly documented)
PRI_ID
PRI_REFID_MODE
PRI_REGKEY
PRI_TEST_ID
PRI_TEST_MODE
PRI_TEST_REGKEY
SERVER_NAME — (partly documented)
SET_MERCHANT
SHIP_DEFAULT_ZIP
SQLDSN — default DSN string used for SQL database connections
SURVEY_LOG_DIR — directory to store survey results
TAXCOUNTRY — (partly documented)
TAXHANDLING
TAXRATE — key=value pairs used for taxing calculation
TAXSHIPPING — list of geographical identifiers for which taxing is applied
TRUSTCOMMERCE_ACTION
TRUSTCOMMERCE_AVS
TRUSTCOMMERCE_ID
TRUSTCOMMERCE_SECRET
TRUSTCOMMERCE_TEST
UI_ACCESS_KEY_LIMIT — (partly documented)
UI_ACCESS_TABLE — (partly documented)
UI_BASE — specify relative system path to the admin interface files
UI_COMPONENT_DIR
UI_COMPONENT_TABLE
UI_CONTRAST
UI_C_SUCCESS
UI_DATE_BEGIN — default first year for date widget
UI_DATE_END — default last year for date widget
UI_EDIT_LINK
UI_ERROR_PAGE — (partly documented)
UI_IMAGE_DIR — specify web server path to the admin interface images and CSS
UI_IMG — (partly documented)
UI_ITEM_TABLES
UI_LARGE_TABLE — (partly documented)
UI_META_LINK — toggle UI meta link display
UI_META_SELECT
UI_META_TABLE — name of the metadata table
UI_OVERALL_WIDTH
UI_PAGE_DIR
UI_PAGE_TABLE
UI_REGION_DIR
UI_SECURE — force UI into secure mode
UI_SECURITY_OVERRIDE — (partly documented)
UI_STD_FOOTER
UI_STD_HEAD
UI_TEMPLATE_DIR — location of the admin templates
UI_TEMPLATE_TABLE
UI_T_BG
UI_T_ROW_EVEN
UI_USER_MERGE_TABLES
UI_USER_MERGE_USER_TABLE
UPS_COUNTRY_FIELD
UPS_COUNTRY_REMAP — (partly documented)
UPS_ORIGIN — (partly documented)
UPS_POSTCODE_FIELD
UPS_QUERY_MODULO — (partly documented)
USPS_CONTAINER
USPS_ID
USPS_MACHINABLE
USPS_MAILTYPE
USPS_MODULO
USPS_ORIGIN
USPS_PASSWORD
USPS_SIZE
USPS_URL
VALUE — (obsolete)
VISIT_TIMEOUT — time after which user request is treated as new visit

Name

ACTIVE_SESSION_MINUTES — specify maximum session age for [dump-session]

SYNOPSIS

minutes

DESCRIPTION

This variable specifies the maximum session age in minutes and is used only by the dump_session tag.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

This variable only accepts input specified in minutes.

AVAILABILITY

ACTIVE_SESSION_MINUTES is available in Interchange versions:

4.6.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/UI_Tag/dump_session.coretag
Line 41 (context shows lines 31-45 in show_part():14)

my ($name, $opt) = @_;
my $joiner = $opt->{joiner} || ' ';
return "Cannot dump or find sessions with session type $Vend::Cfg->{SessionType}."
  if ($Vend::Cfg->{SessionType} ne 'File' && $Vend::Cfg->{SessionType} ne 'DBI');


if ($Vend::Cfg->{SessionType} eq 'File') {
  if($opt->{find}) {
    require File::Find;
    my $expire = $Vend::Cfg->{SessionExpire};
    if( int($::Variable->{ACTIVE_SESSION_MINUTES}) ) {
      $expire = $::Variable->{ACTIVE_SESSION_MINUTES} * 60;
    }
    my $now = time();
    $expire = $now - $expire;

Source: code/UI_Tag/dump_session.coretag
Line 78 (context shows lines 68-82 in show_part():14)

      $out = Vend::Util::uneval($ref);
    };
    return uneval($ref) if $@;
    return $out;
  }
}

if ($Vend::Cfg->{SessionType} eq 'DBI') {
  if($opt->{find}) {
    my $expire = $Vend::Cfg->{SessionExpire};
    if( int($::Variable->{ACTIVE_SESSION_MINUTES}) ) {
      $expire = $::Variable->{ACTIVE_SESSION_MINUTES} * 60;
    }
    my $now = time();
    $expire = $now - $expire;

SEE ALSO


Name

BACKUP_DIRECTORY — specify directory used to dump database backups

SYNOPSIS

{ path }

DESCRIPTION

This variable will override the path where the database backups are to be dumped.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

BACKUP_DIRECTORY is available in Interchange versions:

4.6.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/UI_Tag/backup_database.coretag
Line 18 (context shows lines 8-22)

# $Id: backup_database.coretag,v 1.10 2008-08-12 22:02:57 jon Exp $

UserTag backup-database Order    tables
UserTag backup-database AddAttr
UserTag backup-database Version  $Revision: 1.10 $
UserTag backup-database Routine  <<EOR
sub {
my ($tables, $opt) = @_;
my (@tables) = grep /\S/, split /['\s\0]+/, $tables;
my $backup_dir =  $opt->{dir}
          || $::Variable->{BACKUP_DIRECTORY}
          || "$Vend::Cfg->{VendRoot}/backup";
my $gnum   = $opt->{gnumeric};
my $agg = "$backup_dir/DBDOWNLOAD.all";


SEE ALSO


Name

BREADCRUMB_EXCLUDE

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

BREADCRUMB_EXCLUDE is available in Interchange versions:

5.4.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: dist/standard/config/breadcrumbs.tag
Line 18 (context shows lines 8-22)

# $Id: breadcrumbs.tag,v 1.5 2007/08/09 13:40:53 pajamian Exp $

UserTag breadcrumbs Order number
UserTag breadcrumbs addAttr
UserTag breadcrumbs Routine <<EOR
sub {
my ($number, $opt) = @_;

use vars qw/$Tag $Scratch $CGI $Session $Variable/;
my $only_last = $::Variable->{BREADCRUMB_ONLY_LAST} || 'ord/basket login';
my $exclude   = $::Variable->{BREADCRUMB_EXCLUDE};
my $max   = $number || $::Variable->{BREADCRUMB_MAX} || 6;

my %exclude;
my %only_last;

SEE ALSO


Name

BREADCRUMB_MAX

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

BREADCRUMB_MAX is available in Interchange versions:

5.4.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: dist/standard/config/breadcrumbs.tag
Line 19 (context shows lines 9-23)


UserTag breadcrumbs Order number
UserTag breadcrumbs addAttr
UserTag breadcrumbs Routine <<EOR
sub {
my ($number, $opt) = @_;

use vars qw/$Tag $Scratch $CGI $Session $Variable/;
my $only_last = $::Variable->{BREADCRUMB_ONLY_LAST} || 'ord/basket login';
my $exclude   = $::Variable->{BREADCRUMB_EXCLUDE};
my $max   = $number || $::Variable->{BREADCRUMB_MAX} || 6;

my %exclude;
my %only_last;


SEE ALSO


Name

BREADCRUMB_ONLY_LAST

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

BREADCRUMB_ONLY_LAST is available in Interchange versions:

5.4.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: dist/standard/config/breadcrumbs.tag
Line 17 (context shows lines 7-21)

# 
# $Id: breadcrumbs.tag,v 1.5 2007/08/09 13:40:53 pajamian Exp $

UserTag breadcrumbs Order number
UserTag breadcrumbs addAttr
UserTag breadcrumbs Routine <<EOR
sub {
my ($number, $opt) = @_;

use vars qw/$Tag $Scratch $CGI $Session $Variable/;
my $only_last = $::Variable->{BREADCRUMB_ONLY_LAST} || 'ord/basket login';
my $exclude   = $::Variable->{BREADCRUMB_EXCLUDE};
my $max   = $number || $::Variable->{BREADCRUMB_MAX} || 6;

my %exclude;

SEE ALSO


Name

CAPTCHA_IMAGE_LOCATION — specify directory containing generated "captcha" images

SYNOPSIS

directory_name

DESCRIPTION

The variable specifies a directory where the generated captcha image files should be saved to.

This directory must also be available as a web server location.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable CAPTCHA_IMAGE_LOCATION __DOCROOT__/images/captcha/

NOTES

AVAILABILITY

CAPTCHA_IMAGE_LOCATION is available in Interchange versions:

5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/SystemTag/captcha.coretag
Line 50 (context shows lines 40-54)

$opt->{length} ||= 4;
my $en = $opt->{error_name} || 'captcha';

my $subdir = $opt->{image_subdir}
     || $::Variable->{CAPTCHA_IMAGE_SUBDIR}
     || 'captcha';
my $tmpdir = "$Vend::Cfg->{ScratchDir}/$subdir";

mkdir($tmpdir) unless -d $tmpdir;

my $imgdir = $opt->{image_location} || $::Variable->{CAPTCHA_IMAGE_LOCATION};

unless ($imgdir ) {
  if(! $Global::NoAbsolute and $::Variable->{DOCROOT}) {
     $imgdir = "$::Variable->{DOCROOT}$::Variable->{IMAGE_DIR}/$subdir";


Name

CAPTCHA_IMAGE_PATH — specify web server path containing "captcha" images

SYNOPSIS

location

DESCRIPTION

The variable specifies a web server location where the generated captcha image files are found, and from where they can be requested by clients.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable CAPTCHA_IMAGE_PATH /images/captcha/

NOTES

AVAILABILITY

CAPTCHA_IMAGE_PATH is available in Interchange versions:

5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/SystemTag/captcha.coretag
Line 62 (context shows lines 52-66)

unless ($imgdir ) {
if(! $Global::NoAbsolute and $::Variable->{DOCROOT}) {
$imgdir = "$::Variable->{DOCROOT}$::Variable->{IMAGE_DIR}/$subdir";
}
else {
  $imgdir = "images/$subdir";
 }
 }

 my $imgpath = $opt->{image_path}
        || $::Variable->{CAPTCHA_IMAGE_PATH}
        || "$::Variable->{IMAGE_DIR}/$subdir";

 
 my $captcha = Authen::Captcha->new(


Name

CAPTCHA_IMAGE_SUBDIR — specify subdirectory containing "captcha" images

SYNOPSIS

subdirectory_name

DESCRIPTION

The variable specifies just a subdirectory name where the generated captcha image are to be saved, and from where they can be requested by clients.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable CAPTCHA_IMAGE_SUBDIR captcha/

NOTES

AVAILABILITY

CAPTCHA_IMAGE_SUBDIR is available in Interchange versions:

5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/SystemTag/captcha.coretag
Line 44 (context shows lines 34-48)

$func =~ s/[^a-z]+//g;
my $result = '';
if($func eq 'code') {
  $result = $Vend::Session->{captcha};
}

$opt->{length} ||= 4;
my $en = $opt->{error_name} || 'captcha';

my $subdir = $opt->{image_subdir}
       || $::Variable->{CAPTCHA_IMAGE_SUBDIR}
       || 'captcha';
my $tmpdir = "$Vend::Cfg->{ScratchDir}/$subdir";

mkdir($tmpdir) unless -d $tmpdir;


Name

CAPTCHA_UMASK

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CAPTCHA_UMASK is available in Interchange versions:

5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/SystemTag/captcha.coretag
Line 99 (context shows lines 89-103)

  elsif($status == -2) {
    $Tag->error( { name => $en, set => "Code never generated" });
    return 0;
  }
  elsif($status == -3) {
    $Tag->error( { name => $en, set => "Code doesn't match" });
    return 0;
  }
}
else {
    my $save_u = umask($::Variable->{CAPTCHA_UMASK} || 2);

  if($opt->{reset}) {
    undef $Vend::Captcha;
    delete $Vend::Session->{captcha};

SEE ALSO


Name

CGIWRAP_WORKAROUND — fix Cobalt CGIWrap problem

SYNOPSIS

{ 0 | 1 }

DESCRIPTION

The variable controls the behavior of the Cobalt CGIwrap problem work-around code. When set, causes the script name to be removed from the URL pathinfo.

VARIABLE TYPE

Global variable

EXAMPLES

Example: Turn on the workaround code

Add the following to interchange.cfg:

Variable CGIWRAP_WORKAROUND 1

NOTES

AVAILABILITY

CGIWRAP_WORKAROUND is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Dispatch.pm (rev. 1.104 from Thu Nov 27 00:01:24 2008)
Line 914 (context shows lines 904-918 in adjust_cgi():879)

  $host = $Global::IpQuad == 0 ? 'nobody' : '';
  my @ip;
  @ip = split /\./, $CGI::ip;
  $CGI::ip = '';
  $CGI::ip = join ".", @ip[0 .. ($Global::IpQuad - 1)] if $Global::IpQuad;
}
#
# end AOL fix

# Fix Cobalt/CGIwrap problem
  if($Global::Variable->{CGIWRAP_WORKAROUND}) {
      $CGI::path_info =~ s!^$CGI::script_name!!;
  }

  $CGI::host = $host || $CGI::ip;

SEE ALSO


Name

COMPANY — specify company or entity name

SYNOPSIS

name

DESCRIPTION

The variable specifies company or entity name to display in appropriate contexts.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable COMPANY Interchange Development Group

NOTES

AVAILABILITY

COMPANY is available in Interchange versions:

4.6.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Util.pm (rev. 2.120 from Sat Sep 27 00:01:21 2008)
Line 1171 (context shows lines 1161-1175 in readin():1090)

  if(-f "$dir/.autoload") {
    my $status = ::interpolate_html( readfile("$dir/.autoload") );
    $status =~ s/\s+//g;
    undef $level if $status;
  }
  $gate = check_gate($file,$dir)
    if defined $level;
}

if( defined $level and ! check_security($file, $level, $gate) ){
  my $realm = $::Variable->{COMPANY} || $Vend::Cat;
  if(-f "$try/violation$suffix") {
    $fn = "$try/violation$suffix";
  }
  else {

Source: lib/Vend/Payment/iTransact.pm (rev. 2.8 from Sat Aug 18 14:18:37 2007)
Line 224 (context shows lines 214-228 in itransact():219)


}

package Vend::Payment;

sub itransact {
my ($opt, $amount) = @_;

my $user = $opt->{id} || charge_param('id');

my $company = $opt->{company} || "$::Variable->{COMPANY} Order";

my %actual;
if($opt->{actual}) {
  %actual = %{$opt->{actual}};

Source: lib/Vend/Payment/Protx2.pm (rev. 1.2 from Thu Apr 10 23:44:45 2008)
Line 569 (context shows lines 559-573 in protx():525)

    ::logError("%s: using logdir %s instead of disallowed %s", __PACKAGE__, \
 $default_logdir, $logdir);
    $logdir = $default_logdir;
}
$logdir = Vend::File::make_absolute_file($logdir);

my $logzero    = charge_param('logzero')    || 'no';
my $available  = charge_param('available')  || 'no';
my $logempty   = $::Values->{logempty} || charge_param('logempty') || 'no';
my $double_pay = $::Values->{double_pay} || charge_param('double_pay') || 'no';
my $findcard   = charge_param('find_card_type') || 'no'; # yes for \
 auto, page for input, no for IC
my $description = charge_param('description') || $::Variable->{COMPANY};
$description = substr($description,0,99);
my $applyAVSCV2 = $::Values->{applyavscv2} || charge_param('applyavscv2') || '0';

# if payment is logged as made, raise an error message and exit

Source: dist/standard/config/breadcrumbs.tag
Line 119 (context shows lines 109-123)

      key => $record->{category},
      title => $record->{category},
      description => undef,
      url => $Tag->area({ search => join "\n", @parms }),
    };
  }
}

if(! $ptitle) {
  $ptitle = $Scratch->{page_title};
  $ptitle =~ s/(\s*\W+\s*)?$Variable->{COMPANY}(\s*\W+\s*)?//;
}

$ptitle =~ s/^\s+//;
$ptitle =~ s/\s+$//;

SEE ALSO


Name

CONTRAST

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CONTRAST is available in Interchange versions:

4.8.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Options/Simple.pm (rev. 1.9 from Sat Aug 18 14:18:37 2007)
Line 341 (context shows lines 331-345 in admin_page():255)


return '';
[/perl]
[/if]


<form action="[area @@MV_PAGE@@]" method="post">
[if scratch ui_failure]
<p>
<blockquote>
<font color="__CONTRAST__">[scratch ui_failure][set ui_failure][/set]</font>
</blockquote>
<p>
&nbsp;
[/if]

Source: lib/Vend/Options/Simple.pm (rev. 1.9 from Sat Aug 18 14:18:37 2007)
Line 349 (context shows lines 339-353 in admin_page():255)

<p>
<blockquote>
<font color="__CONTRAST__">[scratch ui_failure][set ui_failure][/set]</font>
</blockquote>
<p>
&nbsp;
[/if]
[if scratch ui_message]
<p>
<blockquote>
<font color="__CONTRAST__">[scratch ui_message][set ui_message][/set]</font>
</blockquote>
<p>
&nbsp;
[/if]

SEE ALSO


Name

COUNTRY — (obsolete)

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

EXAMPLES

NOTES

AVAILABILITY

COUNTRY is available in Interchange versions:

4.8.0-5.4.0

SOURCE

Interchange 5.4.0:

Source: code/UserTag/fedex_query.tag
Line 230 (context shows lines 220-234)

my $die = sub {
  my ($msg, @args) = @_;
  $msg = ::errmsg($msg, @args);
  $Vend::Session->{ship_message} .= " $msg";
  return 0;
};

my $fed;

$opt->{target_url} ||= 'http://grd.fedex.com/cgi-bin/rrr2010.exe';
$opt->{origin_country} ||= $::Variable->{COUNTRY} || 'US';
$opt->{origin} ||= $::Variable->{UPS_ORIGIN};
$opt->{zip} ||= $::Values->{$::Variable->{UPS_POSTCODE_FIELD}};
$opt->{country} ||= $::Values->{$::Variable->{UPS_COUNTRY_FIELD}};
$opt->{country} = uc $opt->{country};

AUTHORS

SEE ALSO


Name

CSS_CONTRAST — CSS class to designate problems

SYNOPSIS

{ class }

DESCRIPTION

CSS_CONTRAST is used by error and formel to designate problems. Both use mv_contrast as default if CSS_CONTRAST has no value.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable CSS_CONTRAST error

NOTES

AVAILABILITY

CSS_CONTRAST is available in Interchange versions:

5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/UserTag/formel.tag
Line 41 (context shows lines 31-45)

}
else {
  $error = $Tag->error({name => $checkfor, keep => $keep});
}

if ($error) {
  if ($opt->{signal}) {
    sprintf($opt->{signal}, $label);
  }
  else {
    my $contrast = $::Variable->{CSS_CONTRAST} || 'mv_contrast';
    qq{<span class="$contrast">$label</span>};
  }  
}
else {      

Source: code/SystemTag/error.coretag
Line 133 (context shows lines 123-137 in tag_error():33)

# store the error label in user's session for later
# possible use in [error show_label=1] calls
$Vend::Session->{errorlabels}{$var} = $opt->{std_label};
if($text) {
# do nothing
}
elsif(defined $::Variable->{MV_ERROR_STD_LABEL}) {
$text = $::Variable->{MV_ERROR_STD_LABEL};
}
else {
my $contrast = $::Variable->{CSS_CONTRAST} || 'mv_contrast';
  $text = <<EOF;
<span class="$contrast">{LABEL} <small><i>(%s)</i></small></span>
[else]{REQUIRED <b>}{LABEL}{REQUIRED </b>}[/else]
EOF


Name

CYBER_CONFIGFILE

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_CONFIGFILE is available in Interchange versions:

4.6.0

SOURCE

Interchange 4.6.0:

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 652 (context shows lines 642-656 in charge():579)

$Vend::Session->{payment_result} =
$Vend::Session->{cybercash_result} = \%result;
}
elsif ($actual{cyber_mode} =~ /^minivend_test(?:_(.*))?/) {
my $status = $1 || 'success';
# Interchange test mode
my %payment = (
'host' => $::Variable->{CYBER_HOST} || 'localhost',
'port' => $::Variable->{CYBER_PORT} || 8000,
'secret' => $::Variable->{CYBER_SECRET} || '',
'config' => $::Variable->{CYBER_CONFIGFILE} || '',
);
&testSetServer ( %payment );
%result = testsendmserver(
        $actual{cyber_mode},

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 678 (context shows lines 668-682 in charge():579)

  $result{MStatus} = $status;
  $Vend::Session->{payment_result} =
    $Vend::Session->{cybercash_result} = \%result;
  }
elsif ($Vend::CC3) {
  # Live interface operations follow
  $Vend::CC3server = 1;

  # Cybercash 3.x libraries to be used.
  # Initialize the merchant configuration file
  my $status = InitConfig($::Variable->{CYBER_CONFIGFILE});
  if ($status != 0) {
    $Vend::Session->{cybercash_error} = MCKGetErrorMessage($status);
    ::logError(
      "Failed to initialize CyberCash from file %s: %s",

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 683 (context shows lines 673-687 in charge():579)

# Live interface operations follow
$Vend::CC3server = 1;

# Cybercash 3.x libraries to be used.
# Initialize the merchant configuration file
my $status = InitConfig($::Variable->{CYBER_CONFIGFILE});
if ($status != 0) {
  $Vend::Session->{cybercash_error} = MCKGetErrorMessage($status);
  ::logError(
    "Failed to initialize CyberCash from file %s: %s",
      $Variable->{CYBER_CONFIGFILE},
      $Vend::Session->{cybercash_error},
      );
    return undef;
  }

SEE ALSO


Name

CYBER_CURRENCY

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_CURRENCY is available in Interchange versions:

4.6.0

SOURCE

Interchange 4.6.0:

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 585 (context shows lines 575-589 in charge():579)

}
return %actual;
}

sub charge {
my ($charge_type) = @_;
my (%actual) = map_actual();

#::logDebug ("cyber_charge, mode val=$::Values->{mv_cyber_mode} cgi=$CGI::values{mv_cyber_mode} \
 \
 actual=$actual{cyber_mode}");
my $currency =  $::Variable->{MV_PAYMENT_CURRENCY}
      || $::Variable->{CYBER_CURRENCY}
      || 'usd';
$actual{mv_credit_card_exp_month} =~ s/\D//g;
$actual{mv_credit_card_exp_month} =~ s/^0+//;
  $actual{mv_credit_card_exp_year} =~ s/\D//g;

SEE ALSO


Name

CYBER_HOST

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_HOST is available in Interchange versions:

4.6.0

SOURCE

Interchange 4.6.0:

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 649 (context shows lines 639-653 in charge():579)

    return undef;
  }
  %result = $sub->(@args);
  $Vend::Session->{payment_result} =
    $Vend::Session->{cybercash_result} = \%result;
}
  elsif ($actual{cyber_mode} =~ /^minivend_test(?:_(.*))?/) {
  my $status = $1 || 'success';
  # Interchange test mode
  my %payment = (
    'host' => $::Variable->{CYBER_HOST} || 'localhost',
    'port' => $::Variable->{CYBER_PORT} || 8000,
    'secret' => $::Variable->{CYBER_SECRET} || '',
    'config' => $::Variable->{CYBER_CONFIGFILE} || '',
  );

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 689 (context shows lines 679-693 in charge():579)

if ($status != 0) {
$Vend::Session->{cybercash_error} = MCKGetErrorMessage($status);
::logError(
  "Failed to initialize CyberCash from file %s: %s",
    $Variable->{CYBER_CONFIGFILE},
    $Vend::Session->{cybercash_error},
    );
  return undef;
}

  unless($::Variable->{CYBER_HOST}) {
    $::Variable->{CYBER_HOST} = $Config{CCPS_HOST};
  }
  if($Vend::CC3server) {
    # Cybercash 3.x server and libraries to be used.

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 699 (context shows lines 689-703 in charge():579)

unless($::Variable->{CYBER_HOST}) {
$::Variable->{CYBER_HOST} = $Config{CCPS_HOST};
}
if($Vend::CC3server) {
# Cybercash 3.x server and libraries to be used.

    if ($status != 0) {
      $Vend::Session->{cybercash_error} = MCKGetErrorMessage($status);
      return undef;
    }
    $sendurl = $::Variable->{CYBER_HOST} . 'directcardpayment.cgi';

    my %paymentNVList;
    $paymentNVList{'mo.cybercash-id'} = $Config{CYBERCASH_ID};
    $paymentNVList{'mo.version'} = $MCKversion;

SEE ALSO


Name

CYBER_ID — specify ID for communication with selected payment gateways

SYNOPSIS

{ name }

DESCRIPTION

The variable specifies your ID for communication with a payment gateway.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_ID is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 303 (context shows lines 293-307 in echo():276)


my (%actual) = map_actual();

my @errMsgs = ();
# Required for validation
if (! $user) {
$user      = $opt->{id} || 
           charge_param('id') ||  
           $::Variable->{ECHO_PAYMENT_ID} ||
           $::Variable->{MV_PAYMENT_ID} ||
            $::Variable->{CYBER_ID}
            or push @errMsgs, "No payment ID found.";
}

# Required for validation

SEE ALSO


Name

CYBER_PORT — specify port for communication with selected payment gateways

SYNOPSIS

{ port number }

DESCRIPTION

The variable specifies the port over which to communicate with the payment gateway server.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_PORT is available in Interchange versions:

4.6.0

SOURCE

Interchange 4.6.0:

Source: lib/Vend/Order.pm (rev. 1.20 from Tue Mar 6 17:24:20 2001)
Line 650 (context shows lines 640-654 in charge():579)

}
%result = $sub->(@args);
$Vend::Session->{payment_result} =
  $Vend::Session->{cybercash_result} = \%result;
}
elsif ($actual{cyber_mode} =~ /^minivend_test(?:_(.*))?/) {
my $status = $1 || 'success';
# Interchange test mode
my %payment = (
  'host' => $::Variable->{CYBER_HOST} || 'localhost',
  'port' => $::Variable->{CYBER_PORT} || 8000,
  'secret' => $::Variable->{CYBER_SECRET} || '',
  'config' => $::Variable->{CYBER_CONFIGFILE} || '',
);
  &testSetServer ( %payment );

SEE ALSO


Name

CYBER_PRECISION — specify precision to be used with selected payment gateways

SYNOPSIS

{ number of decimal places }

DESCRIPTION

The variable defines the precision (number of decimal places) to be used with selected payment gateways.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_PRECISION is available in Interchange versions:

4.6.0, 5.0.1, 5.2.0, 5.4.0, 5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 336 (context shows lines 326-340 in echo():276)

   charge_param('server') ||
$::Variable->{ECHO_PAYMENT_SERVER} ||
$::Variable->{MV_PAYMENT_SERVER} ||
   $::Variable->{CYBER_SERVER} ||
   'https://wwws.echo-inc.com/scripts/INR200.EXE';

my $precision  =  $opt->{precision} ||
      charge_param('precision') ||
$::Variable->{ECHO_PAYMENT_PRECISION} ||
$::Variable->{MV_PAYMENT_PRECISION} ||
       $::Variable->{CYBER_PRECISION} ||
       2;

##### ECHO SPECIFIC VARIABLES #####


SEE ALSO


Name

CYBER_SECRET — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

The script defines the password used for authorization to the payment gateway.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_SECRET is available in Interchange versions:

4.6.0, 5.0.1, 5.2.0, 5.4.0, 5.6.0, 5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 313 (context shows lines 303-317 in echo():276)

      $::Variable->{CYBER_ID}
      or push @errMsgs, "No payment ID found.";
}

# Required for validation
if (! $secret) {
$secret    = $opt->{secret} ||
           charge_param('secret') ||
       $::Variable->{ECHO_PAYMENT_SECRET} ||
       $::Variable->{MV_PAYMENT_SECRET} ||
           $::Variable->{CYBER_SECRET}
           or push @errMsgs, "No payment secret found.";
}

if (scalar @errMsgs) {

SEE ALSO


Name

CYBER_SERVER — (partly documented)

SYNOPSIS

{ hostname }

DESCRIPTION

The variable specifies the address of the payment gateway.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

CYBER_SERVER is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 329 (context shows lines 319-333 in echo():276)

  ::logError($_);
}
return 0;
}
@errMsgs = ();

my $server     = $opt->{server} ||
                 charge_param('server') ||
          $::Variable->{ECHO_PAYMENT_SERVER} ||
          $::Variable->{MV_PAYMENT_SERVER} ||
                 $::Variable->{CYBER_SERVER} ||
                 'https://wwws.echo-inc.com/scripts/INR200.EXE';

my $precision  =  $opt->{precision} ||
                    charge_param('precision') ||

SEE ALSO


Name

DEBUG — enable Interchange debugging

SYNOPSIS

{ 0 | 1 }

DESCRIPTION

Enable Interchange debug messages. Always used in combination with DebugFile.

VARIABLE TYPE

Global variable

EXAMPLES

Example: Defining DEBUG

Variable  DEBUG 1
DebugFile /tmp/icdebug

NOTES

AVAILABILITY

DEBUG is available in Interchange versions:

5.4.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Util.pm (rev. 2.120 from Sat Sep 27 00:01:21 2008)
Line 2017 (context shows lines 2007-2021 in send_mail():1899)

last SMTP unless $none and $mhost;
eval {
require Net::SMTP;
};
last SMTP if $@;
$ok = 0;
$using = "Net::SMTP (mail server $mhost)";
#::logDebug("using $using");
undef $none;

my $smtp = Net::SMTP->new($mhost, Debug => $Global::Variable->{DEBUG}, \
 Hello => $helo) or last SMTP;
#::logDebug("smtp object $smtp");

my $from = $::Variable->{MV_MAILFROM}
    || $Global::Variable->{MV_MAILFROM}

Source: lib/Vend/Email.pm (rev. 1.11 from Sat Dec 29 06:03:43 2007)
Line 679 (context shows lines 669-683 in send_mail_legacy():561)

last SMTP unless $none and $mhost;
eval {
require Net::SMTP;
};
last SMTP if $@;
$ok = 0;
$using = "Net::SMTP (mail server $mhost)";
#::logDebug("using $using");
undef $none;

my $smtp = Net::SMTP->new($mhost, Debug => $Global::Variable->{DEBUG}, Hello => $helo);
#::logDebug("smtp object $smtp");

my $from = $::Variable->{MV_MAILFROM}
    || $Global::Variable->{MV_MAILFROM}


Name

DESCRIPTIONFIELDS

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

DESCRIPTIONFIELDS is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/SystemTag/image.tag
Line 22 (context shows lines 12-26)

UserTag image AttrAlias resize makesize
UserTag image AddAttr
UserTag image Version   $Revision: 1.24 $
UserTag image Routine   <<EOR
sub {
my ($src, $opt) = @_;
my ($image, $path, $secure, $sku);
my ($imagedircurrent, $imagedir, $imagedirsecure);

my @descriptionfields = grep /\S/, split /\s+/,
  $opt->{descriptionfields} || $::Variable->{DESCRIPTIONFIELDS} || $Vend::Cfg->{DescriptionField};
@descriptionfields = qw( description ) if ! @descriptionfields;

my @imagefields = grep /\S/, split /\s+/,
  $opt->{imagefields} || $::Variable->{IMAGEFIELDS};

SEE ALSO


Name

DOCROOT — filesystem path to catalog's document root

SYNOPSIS

{ path }

DESCRIPTION

This variable specifies filesystem path to the corresponding catalog's DOCROOT.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example: Setting DOCROOT

Variable DOCROOT /var/www/CATALOG_NAME/htdocs/

NOTES

AVAILABILITY

DOCROOT is available in Interchange versions:

4.6.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: code/UserTag/button.tag
Line 38 (context shows lines 28-42)

my @js;
my $image;

my @from_html = qw/class id style/;

if($src) {
  if( $opt->{srcliteral} || $src =~ m{^https?://}i ) {
    $image = $src;
  }
  else {
    my $dr = $::Variable->{DOCROOT};
    my $id = $Tag->image( { dir_only => 1 } );
    $id =~ s:/+$::;
    $id =~ s:/~[^/]+::;


Source: code/SystemTag/image.tag
Line 124 (context shows lines 114-128)

      }
    }
  }
}
push @srclist, $sku if $sku;
push @srclist, $opt->{default} if $opt->{default};

if ($opt->{imagesubdir}) {
  $opt->{imagesubdir} .= '/' unless $opt->{imagesubdir} =~ m:/$:;
}
my $dr = $::Variable->{DOCROOT};
my $id = $imagedircurrent;
$id =~ s:/+$::;
$id =~ s:/~[^/]+::;


Source: code/SystemTag/captcha.coretag
Line 53 (context shows lines 43-57)

my $subdir = $opt->{image_subdir}
   || $::Variable->{CAPTCHA_IMAGE_SUBDIR}
   || 'captcha';
my $tmpdir = "$Vend::Cfg->{ScratchDir}/$subdir";

mkdir($tmpdir) unless -d $tmpdir;

my $imgdir = $opt->{image_location} || $::Variable->{CAPTCHA_IMAGE_LOCATION};

unless ($imgdir ) {
if(! $Global::NoAbsolute and $::Variable->{DOCROOT}) {
   $imgdir = "$::Variable->{DOCROOT}$::Variable->{IMAGE_DIR}/$subdir";
  }
  else {
     $imgdir = "images/$subdir";


Name

ECHO_PAYMENT_DEBUG

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_DEBUG is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 348 (context shows lines 338-352 in echo():276)


##### ECHO SPECIFIC VARIABLES #####

my $order_type = $::Variable->{ECHO_PAYMENT_ORDER_TYPE} || 'S';
my $isp_echo_id = $::Variable->{ECHO_PAYMENT_ISP_ECHO_ID};
my $isp_pin = $::Variable->{ECHO_PAYMENT_ISP_PIN};
my $merchant_email = $::Variable->{ECHO_PAYMENT_MERCHANT_EMAIL};

# Set to 'C' for Certify mode to check compliance with the ECHO spec on a
# transaction-by-transaction basis.  'T' or 'TRUE' for full ECHO debugging.
my $debug = $::Variable->{ECHO_PAYMENT_DEBUG};

 ##########################

 $actual{mv_credit_card_exp_month} =~ s/\D//g;

SEE ALSO


Name

ECHO_PAYMENT_ID — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

The variable specified ID for use with ECHO payment processing services.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_ID is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 301 (context shows lines 291-305 in echo():276)


#::logDebug("echo called, args=" . ::uneval(\@_));

my (%actual) = map_actual();

my @errMsgs = ();
# Required for validation
if (! $user) {
  $user      = $opt->{id} || 
               charge_param('id') ||  
               $::Variable->{ECHO_PAYMENT_ID} ||
               $::Variable->{MV_PAYMENT_ID} ||
                $::Variable->{CYBER_ID}
                or push @errMsgs, "No payment ID found.";
}

SEE ALSO


Name

ECHO_PAYMENT_ISP_ECHO_ID

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_ISP_ECHO_ID is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 342 (context shows lines 332-346 in echo():276)

my $precision  =  $opt->{precision} ||
  charge_param('precision') ||
$::Variable->{ECHO_PAYMENT_PRECISION} ||
$::Variable->{MV_PAYMENT_PRECISION} ||
   $::Variable->{CYBER_PRECISION} ||
   2;

##### ECHO SPECIFIC VARIABLES #####

my $order_type = $::Variable->{ECHO_PAYMENT_ORDER_TYPE} || 'S';
my $isp_echo_id = $::Variable->{ECHO_PAYMENT_ISP_ECHO_ID};
my $isp_pin = $::Variable->{ECHO_PAYMENT_ISP_PIN};
my $merchant_email = $::Variable->{ECHO_PAYMENT_MERCHANT_EMAIL};

# Set to 'C' for Certify mode to check compliance with the ECHO spec on a

SEE ALSO


Name

ECHO_PAYMENT_ISP_PIN

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_ISP_PIN is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 343 (context shows lines 333-347 in echo():276)

charge_param('precision') ||
$::Variable->{ECHO_PAYMENT_PRECISION} ||
$::Variable->{MV_PAYMENT_PRECISION} ||
 $::Variable->{CYBER_PRECISION} ||
 2;

##### ECHO SPECIFIC VARIABLES #####

my $order_type = $::Variable->{ECHO_PAYMENT_ORDER_TYPE} || 'S';
my $isp_echo_id = $::Variable->{ECHO_PAYMENT_ISP_ECHO_ID};
my $isp_pin = $::Variable->{ECHO_PAYMENT_ISP_PIN};
my $merchant_email = $::Variable->{ECHO_PAYMENT_MERCHANT_EMAIL};

# Set to 'C' for Certify mode to check compliance with the ECHO spec on a
# transaction-by-transaction basis.  'T' or 'TRUE' for full ECHO debugging.

SEE ALSO


Name

ECHO_PAYMENT_MERCHANT_EMAIL

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_MERCHANT_EMAIL is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 344 (context shows lines 334-348 in echo():276)

$::Variable->{ECHO_PAYMENT_PRECISION} ||
$::Variable->{MV_PAYMENT_PRECISION} ||
$::Variable->{CYBER_PRECISION} ||
2;

##### ECHO SPECIFIC VARIABLES #####

my $order_type = $::Variable->{ECHO_PAYMENT_ORDER_TYPE} || 'S';
my $isp_echo_id = $::Variable->{ECHO_PAYMENT_ISP_ECHO_ID};
my $isp_pin = $::Variable->{ECHO_PAYMENT_ISP_PIN};
my $merchant_email = $::Variable->{ECHO_PAYMENT_MERCHANT_EMAIL};

# Set to 'C' for Certify mode to check compliance with the ECHO spec on a
# transaction-by-transaction basis.  'T' or 'TRUE' for full ECHO debugging.
 my $debug = $::Variable->{ECHO_PAYMENT_DEBUG};

SEE ALSO


Name

ECHO_PAYMENT_ORDER_TYPE

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_ORDER_TYPE is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Payment/ECHO.pm (rev. 1.9 from Fri Mar 30 11:39:52 2007)
Line 341 (context shows lines 331-345 in echo():276)


my $precision  =  $opt->{precision} ||
    charge_param('precision') ||
$::Variable->{ECHO_PAYMENT_PRECISION} ||
$::Variable->{MV_PAYMENT_PRECISION} ||
     $::Variable->{CYBER_PRECISION} ||
     2;

##### ECHO SPECIFIC VARIABLES #####

my $order_type = $::Variable->{ECHO_PAYMENT_ORDER_TYPE} || 'S';
my $isp_echo_id = $::Variable->{ECHO_PAYMENT_ISP_ECHO_ID};
my $isp_pin = $::Variable->{ECHO_PAYMENT_ISP_PIN};
my $merchant_email = $::Variable->{ECHO_PAYMENT_MERCHANT_EMAIL};


SEE ALSO


Name

ECHO_PAYMENT_PRECISION — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

The variable specifies the precision (number of decimal places) to use with the ECHO gateway.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

ECHO_PAYMENT_PRECISION is available in Interchange versions:

5.0.1-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: