projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e334c43
)
RT#38314: Declined payment shows card as tokenized after first attempt [fixed if...
author
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 4 Nov 2015 06:44:52 +0000
(
00:44
-0600)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 4 Nov 2015 06:44:52 +0000
(
00:44
-0600)
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
9112607
..
c5039ff
100644
(file)
--- a/
FS/FS/cust_main/Billing_Realtime.pm
+++ b/
FS/FS/cust_main/Billing_Realtime.pm
@@
-266,7
+266,10
@@
sub _bop_defaults {
}
}
- $options->{payinfo} = $self->payinfo unless exists( $options->{payinfo} );
+ unless ( exists( $options->{'payinfo'} ) ) {
+ $options->{'payinfo'} = $self->payinfo;
+ $options->{'paymask'} = $self->paymask;
+ }
# Default invoice number if the customer has exactly one open invoice.
if( ! $options->{'invnum'} ) {