[freeside-commits] branch master updated. dc852f26b535edeab92beeca5af3aad69fdf5243

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


The branch, master has been updated
       via  dc852f26b535edeab92beeca5af3aad69fdf5243 (commit)
      from  5f2c3a88d92952d13a5231a230e332e1a8e94016 (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 dc852f26b535edeab92beeca5af3aad69fdf5243
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Feb 24 08:28:12 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