CREDIT_CARDS_ACCEPTED —
Interchange 5.7.0:
Source: lib/Vend/Payment/PaypalExpress.pm
Line 460 (context shows lines 450-464 in paypalexpress():266)
$::Scratch->{token} = $result{Token};
if (!$result{Token}) {
if ($result{Ack} eq 'Failure') {
foreach my $i ($result{Errors}) {
$::Session->{errors}{PaypalExpress} .= "$i->{LongMessage}, ";
}
$::Session->{errors}{PaypalExpress} =~ s/, $//;
}
else {
my $accepted = uc($::Variable->{CREDIT_CARDS_ACCEPTED});
$::Session->{errors}{PaypalExpress} = errmsg("Paypal is currently \
unavailable - please use our secure payment system instead. We accept $accepted cards");
}
return $Tag->deliver({ location => $checkouturl })
}