diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-05 01:20:35 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-05 01:20:35 -0500 |
commit | bde747e981abe6c517ce25118a53b13f53d63da7 (patch) | |
tree | 209df9131b45668b5efb85d1be3799b9657d3de9 /httemplate/misc/process/payment.cgi | |
parent | 39b05a617a55fe0bb072cde02a5c1b5b16301f62 (diff) |
71513: Card tokenization [bug fixes to previous checkpoint]
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-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 + } } |