projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb7abe
)
don't run $0 transactions for self-service orders of $0 packages, RT#39078
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 12 Mar 2016 23:17:36 +0000
(15:17 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 12 Mar 2016 23:17:36 +0000
(15:17 -0800)
FS/FS/cust_main/Billing_Realtime.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Billing_Realtime.pm
b/FS/FS/cust_main/Billing_Realtime.pm
index
20b21dc
..
1db44bc
100644
(file)
--- a/
FS/FS/cust_main/Billing_Realtime.pm
+++ b/
FS/FS/cust_main/Billing_Realtime.pm
@@
-97,6
+97,8
@@
sub realtime_collect {
}
$options{amount} = $self->balance unless exists( $options{amount} );
+ return '' unless $options{amount} > 0;
+
$options{method} = FS::payby->payby2bop($self->payby)
unless exists( $options{method} );