Business-OCV
view release on metacpan or search on metacpan
$args->{'carddata'} =~ /^(.{0,4})(.*?)(.{0,3})$/;
local $args->{'carddata'} = $1 . ('.' x length($2)) . $3;
# write the message data sorted in order of the message specification
my @m = $self->_ssort($Requests{$type}, $args);
$self->logtxn(\@m);
}
# send a Transaction message (and receive a response as required)
# - confirm that the TxnRef is consistant (as per Ingenico guidelines)
# - I guess it is possible for transactions requests/responses to get
# mixed up if someone misses a beat.
# send a request of $type, receive the TT_TRANS_RESPONSE message
my $m = $self->_message($args, $type, TT_TRANS_RESPONSE);
return undef unless $m;
# log and check the response, unless polled
unless ($args->{polledmode} and $args->{polledmode} == POLL_NONBLOCK)
{
( run in 0.723 second using v1.01-cache-2.11-cpan-748bfb374f4 )