Name

MV_PAYMENT_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

MV_PAYMENT_HOST is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Payment/GoogleCheckout.pm
Line 401 (context shows lines 391-405 in googlecheckout():399)

::logGlobal("%s v0.7.3 payment module initialised, using %s", __PACKAGE__, \
 $selected) unless $Vend::Quiet;

}

package Vend::Payment;
use strict;
my ($gcourl,$merchantid,$merchantkey,$gcoserver,$xmlOut, $taxrate, $state, \
 $header, $gcorequest, $actual, $orderID);

sub googlecheckout {
my ($opt, $purchaseID, $mv_order_number, $msg, $cart, %result);
     $gcoserver   = charge_param('googlehost')  || $::Variable->{MV_PAYMENT_HOST} \
 || 'https://checkout.google.com/api/checkout/v2'; # live
my $catroot     = charge_param('cat_root') || $::Variable->{CAT_ROOT};
my $ordersdir   = charge_param('ordersdir') || 'orders';
my $currency    = $::Values->{currency} || charge_param('currency') || 'GBP';  
my $editbasketurl = charge_param('edit_basket_url') || $::Variable->{EDIT_BASKET_URL};

Source: lib/Vend/Payment/Protx2.pm
Line 601 (context shows lines 591-605 in protx():525)

}
}
# wrap around everything to bottom
else {
my %actual = map_actual();
$actual  = \%actual;
$opt     = {};

#::logDebug("actual map result: " . ::uneval($actual));
$vendor   = $opt->{id} || charge_param('id') || $::Variable->{MV_PAYMENT_ID};
$opt->{host}   = charge_param('host') || $::Variable->{MV_PAYMENT_HOST} \
 \
 || 'ukvpstest.protx.com';
$opt->{use_wget} = charge_param('use_wget') || '1';
$opt->{port}   = '443';

    if ($txtype =~ /DEFERRED|PAYMENT|AUTHENTICATE|PREAUTH/i) {

Source: lib/Vend/Payment/SagePay.pm
Line 631 (context shows lines 621-635 in sagepay():576)

my $deliveryState;

my %result;
my %query;

my (%actual) = map_actual();
$actual  = \%actual;
$opt     = {};

$vendor   = $opt->{id} || charge_param('id') || $::Variable->{MV_PAYMENT_ID};
$opt->{host} = charge_param('host') || $::Variable->{MV_PAYMENT_HOST} || 'live.sagepay.com';
$sagepayrequest = $opt->{sagepayrequest} = charge_param('sagepayrequest') || 'post';
$opt->{use_wget} = charge_param('use_wget') || '1';
$opt->{port}   = '443';
#::logDebug("SP".__LINE__.": host=$opt->{host}; spreq=$sagepayrequest");

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!