[freeside-commits] branch FREESIDE_4_BRANCH updated. 7e67fa95effacabe5380653ccdab3957f10931c0

Ivan ivan at 420.am
Fri Feb 24 08:28:15 PST 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  7e67fa95effacabe5380653ccdab3957f10931c0 (commit)
      from  312e0abaf208796c86fd25dc8519d68948808140 (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 7e67fa95effacabe5380653ccdab3957f10931c0
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Feb 24 08:28:14 2017 -0800

    fix fallout from is_tokenized optimizations preventing cards from running

diff --git a/FS/FS/cust_payby.pm b/FS/FS/cust_payby.pm
index ab3c41c..fd90597 100644
--- a/FS/FS/cust_payby.pm
+++ b/FS/FS/cust_payby.pm
@@ -359,7 +359,7 @@ sub check {
     # see parallel checks in check_payinfo_cardtype & payinfo_Mixin::payinfo_check
     my $cardtype = $self->paycardtype;
     if ( $self->tokenized ) {
-      $self->('is_tokenized', 'Y'); #so we don't try to do it again
+      $self->set('is_tokenized', 'Y'); #so we don't try to do it again
       if ( $self->paymask =~ /^\d+x/ ) {
         $cardtype = cardtype($self->paymask);
       } else {
diff --git a/FS/FS/payinfo_Mixin.pm b/FS/FS/payinfo_Mixin.pm
index 3820d7b..01b2226 100644
--- a/FS/FS/payinfo_Mixin.pm
+++ b/FS/FS/payinfo_Mixin.pm
@@ -199,7 +199,7 @@ sub payinfo_check {
 
     # see parallel checks in cust_payby::check & cust_payby::check_payinfo_cardtype
     if ( $self->tokenized ) {
-      $self->('is_tokenized', 'Y'); #so we don't try to do it again
+      $self->set('is_tokenized', 'Y'); #so we don't try to do it again
       if ( $self->paymask =~ /^\d+x/ ) {
         $self->set('paycardtype', cardtype($self->paymask));
       } else {

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

Summary of changes:
 FS/FS/cust_payby.pm    |    2 +-
 FS/FS/payinfo_Mixin.pm |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list