From bde747e981abe6c517ce25118a53b13f53d63da7 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Sat, 5 Nov 2016 01:20:35 -0500 Subject: 71513: Card tokenization [bug fixes to previous checkpoint] --- httemplate/misc/process/payment.cgi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'httemplate') 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 + } } -- cgit v1.2.1