[freeside-commits] branch master updated. 052eb9b8d16c4e81c0b6c609674e9ab768cb817d

Jonathan Prykop jonathan at 420.am
Tue Nov 3 22:44:59 PST 2015


The branch, master has been updated
       via  052eb9b8d16c4e81c0b6c609674e9ab768cb817d (commit)
      from  e334c4383752a12527396a498b629537e92f05bd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 052eb9b8d16c4e81c0b6c609674e9ab768cb817d
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Wed Nov 4 00:44:52 2015 -0600

    RT#38314: Declined payment shows card as tokenized after first attempt [fixed if paymask is not passed, take 2]

diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm
index 9112607..c5039ff 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'} ) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/Billing_Realtime.pm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list