Revision history for Perl extension Business::OnlinePayment::LinkPoint.
+0.08 Thu May 1 21:26:05 2007 UTC
+ - Improve error message for declined checks.
+
0.07 Thu Apr 6 18:27:32 2007 UTC
- Add account type mapping
- map bank_state onto bankstate
package Business::OnlinePayment::LinkPoint;
-# $Id: LinkPoint.pm,v 1.27 2007-04-07 00:01:29 jeff Exp $
+# $Id: LinkPoint.pm,v 1.28 2007-05-01 21:37:17 jeff Exp $
use strict;
use vars qw($VERSION @ISA $DEBUG @EXPORT @EXPORT_OK);
@ISA = qw(Exporter AutoLoader Business::OnlinePayment);
@EXPORT = qw();
@EXPORT_OK = qw();
-$VERSION = '0.07';
+$VERSION = '0.08';
$DEBUG = 0;
use lpperl; #3; #lpperl.pm from LinkPoint
} else {
$self->is_success(0);
$self->result_code('');
- $self->error_message($response{'r_error'});
+ $response{'r_error'} =~/\S/
+ ? $self->error_message($response{'r_error'})
+ : $self->error_message($response{'r_approved'}); # no r_error for checks
}
}