diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-11-04 00:44:52 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-11-04 00:44:52 -0600 |
commit | 052eb9b8d16c4e81c0b6c609674e9ab768cb817d (patch) | |
tree | cc0bdb20e6bb61ac1065a79fb69a7288aac1cb6f /FS | |
parent | e334c4383752a12527396a498b629537e92f05bd (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 9112607d2..c5039ff47 100644 --- 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'} ) { |