projects
/
Business-OnlinePayment-LinkPoint.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c8481e1
)
ACH transactions: "SUBMITTED" indicates success
author
ivan
<ivan>
Wed, 11 Jul 2007 23:48:46 +0000
(23:48 +0000)
committer
ivan
<ivan>
Wed, 11 Jul 2007 23:48:46 +0000
(23:48 +0000)
Changes
patch
|
blob
|
history
LinkPoint.pm
patch
|
blob
|
history
diff --git
a/Changes
b/Changes
index
effae9b
..
fec2391
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-3,6
+3,7
@@
Revision history for Perl extension Business::OnlinePayment::LinkPoint.
0.09 unreleased
- Trim all non-numeric characters from phone numbers when doing an ACH
transaction, as per undocumented suggestion from LinkPoint.
0.09 unreleased
- Trim all non-numeric characters from phone numbers when doing an ACH
transaction, as per undocumented suggestion from LinkPoint.
+ - ACH transactions: "SUBMITTED" indicates success
0.08 Tue May 1 18:26:15 PDT 2007
- Improve error message for declined checks.
0.08 Tue May 1 18:26:15 PDT 2007
- Improve error message for declined checks.
diff --git
a/LinkPoint.pm
b/LinkPoint.pm
index
5411169
..
3e258c6
100644
(file)
--- a/
LinkPoint.pm
+++ b/
LinkPoint.pm
@@
-6,7
+6,7
@@
use Carp qw(croak);
use Business::OnlinePayment;
@ISA = qw(Business::OnlinePayment);
use Business::OnlinePayment;
@ISA = qw(Business::OnlinePayment);
-$VERSION = '0.09_0
2
';
+$VERSION = '0.09_0
3
';
$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
$DEBUG = 0;
$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
$DEBUG = 0;
@@
-231,7
+231,12
@@
sub submit {
warn "$_ => $response{$_}\n" for keys %response;
}
warn "$_ => $response{$_}\n" for keys %response;
}
- if ( $response{'r_approved'} eq 'APPROVED' ) {
+ if ( $response{'r_approved'} eq 'APPROVED'
+ or ( $self->transaction_type() =~ /^e?check$/i
+ && $response{'r_approved'} eq 'SUBMITTED'
+ )
+ )
+ {
$self->is_success(1);
$self->result_code($response{'r_code'});
$self->authorization($response{'r_ref'});
$self->is_success(1);
$self->result_code($response{'r_code'});
$self->authorization($response{'r_ref'});