Name

MV_PAYMENT_OTHER_CARD —

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_OTHER_CARD is available in Interchange versions:

5.4.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Order.pm (rev. 2.103 from Sat Oct 25 00:01:32 2008)
Line 518 (context shows lines 508-522 in guess_cc_type():459)

    or $ccnum =~ /^564182\d{10}(\d{2,3})?$/
    or $ccnum =~ /^6(3(33[0-4][0-9])|759[0-9]{2})\d{10}(\d{2,3})?$/) 
{ return 'switch' }
elsif ($ccnum =~ /^56\d{14}$/)
{ return 'bankcard' }
  elsif ($ccnum =~ /^6(3(34[5-9][0-9])|767[0-9]{2})\d{10}(\d{2,3})?$/)
{ return 'solo' }
  elsif ($ccnum =~ /^622\d{13}$/)
{ return 'chinaunionpay' }

else { return $::Variable->{MV_PAYMENT_OTHER_CARD} || 'other' }
}

# Takes a reference to a hash (usually %CGI::values) that contains
# the following:

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!