MV_PAYMENT_CURRENCY — currency for payment gateway
MV_PAYMENT_CURRENCY is available in Interchange versions:
4.6.0, 5.6.0, 5.7.0 (cvs-head)
Interchange 5.7.0:
Source: lib/Vend/Payment/Protx2.pm (rev. 1.2 from Thu Apr 10 23:44:45 2008)
Line 770 (context shows lines 760-774 in protx():525)
my $order_id = gen_order_id($opt);
if ($txtype =~ /RELEASE|VOID|ABORT/i) {
$vendorTxCode = $::Values->{OrigVendorTxCode};
}
else {
$vendorTxCode = $order_id;
}
# ISO currency code sent to Protx, from the page or fall back to config files.
my $currency = $::Values->{iso_currency_code} || $::Values->{currency_code} \
|| $Vend::Cfg->{Locale}{iso_currency_code}
|| charge_param('currency') || $::Variable->{MV_PAYMENT_CURRENCY} || 'GBP';
my $psp_host = $opt->{host};
# The string sent to Protx.