projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88357d0
)
Business::OnlinePaymet fix for processors w/o order numbers, like VirtualNet
author
ivan
<ivan>
Tue, 10 Sep 2002 03:31:00 +0000
(
03:31
+0000)
committer
ivan
<ivan>
Tue, 10 Sep 2002 03:31:00 +0000
(
03:31
+0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
5e041ea
..
d49657e
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-674,7
+674,9
@@
sub realtime_card {
if ( $transaction->is_success() && $action2 ) {
my $auth = $transaction->authorization;
if ( $transaction->is_success() && $action2 ) {
my $auth = $transaction->authorization;
- my $ordernum = $transaction->order_number;
+ my $ordernum = $transaction->can('order_number')
+ ? $transaction->order_number
+ : '';
#warn "********* $auth ***********\n";
#warn "********* $ordernum ***********\n";
#warn "********* $auth ***********\n";
#warn "********* $ordernum ***********\n";
@@
-1112,7
+1114,7
@@
sub print_text {
=head1 VERSION
=head1 VERSION
-$Id: cust_bill.pm,v 1.4
1 2002-09-05 16:51:49
ivan Exp $
+$Id: cust_bill.pm,v 1.4
2 2002-09-10 03:31:00
ivan Exp $
=head1 BUGS
=head1 BUGS