diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-11-04 00:44:52 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-11-05 20:08:40 -0600 |
commit | e6816187d01802db8abdf31bd6d0de55bd081021 (patch) | |
tree | 8036dc511f02d3d3f3ccbecd8f7797bee60a49a6 /FS | |
parent | 8340c04a79bbce239396608dba53b82d9ad7f2f5 (diff) |
RT#38314: Declined payment shows card as tokenized after first attempt [fixed if paymask is not passed, take 2]
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main/Billing_Realtime.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm index d8e2c7c..c700cf7 100644 --- a/FS/FS/cust_main/Billing_Realtime.pm +++ b/FS/FS/cust_main/Billing_Realtime.pm @@ -267,7 +267,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'} ) { |