use Business::OnlinePayment;
@ISA = qw(Business::OnlinePayment);
-$VERSION = '0.08';
+$VERSION = '0.09_01';
+$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
$DEBUG = 0;
use lpperl; #3; #lpperl.pm from LinkPoint
if ($self->transaction_type() =~ /^e?check$/i
&& $content{'action'} =~ /^VOID$/);
+ #strip phone numbers of non-digits for ACH/echeck
+ #as per undocumented suggestion from LinkPoint
+ if ( $self->transaction_type =~ /^e?check$/i ) {
+ foreach my $field (qw( phone fax )) {
+ $content{$field} =~ s/\D//g;
+ }
+ }
+
$self->revmap_fields(
host => \( $self->server ),
port => \( $self->port ),