diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-05 01:20:35 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-29 05:04:09 -0600 |
commit | 1185daff43389fe53ad43e84962329a63d31523e (patch) | |
tree | fc50a3d1ded5cce2974b7fd573e5a956e303b59b /httemplate | |
parent | 16498ac263bf5f3e90e23b866706ada768486f40 (diff) |
71513: Card tokenization [bug fixes to previous checkpoint]
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/misc/process/payment.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index 84687f019..1532605d4 100644 --- a/httemplate/misc/process/payment.cgi +++ b/httemplate/misc/process/payment.cgi @@ -193,6 +193,11 @@ if ( (my $custpaybynum = scalar($cgi->param('custpaybynum'))) > 0 ) { errorpage("error saving info, payment not processed: $error") if $error; + + } elsif ( $payby eq 'CARD' ) { # not saving + + $paymask = FS::payinfo_Mixin->mask_payinfo('CARD',$payinfo); # for untokenized but tokenizable payinfo + } } |