[freeside-commits] freeside/httemplate/misc payment.cgi,1.8,1.9

Ivan,,, ivan at wavetail.420.am
Wed Dec 13 22:00:47 PST 2006


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail:/tmp/cvs-serv15602/httemplate/misc

Modified Files:
	payment.cgi 
Log Message:
encryption fixes from huntsberg & jayce

Index: payment.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/payment.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- payment.cgi	23 Aug 2006 22:25:38 -0000	1.8
+++ payment.cgi	14 Dec 2006 06:00:45 -0000	1.9
@@ -67,7 +67,7 @@
 %     my $state    = $cust_main->state;
 %     my $zip     = $cust_main->zip;
 %     if ( $cust_main->payby =~ /^(CARD|DCRD)$/ ) {
-%       $payinfo = $cust_main->payinfo;
+%       $payinfo = $cust_main->paymask;
 %       $paycvv = $cust_main->paycvv;
 %       ( $month, $year ) = $cust_main->paydate_monthyear;
 %       $payname = $cust_main->payname if $cust_main->payname;
@@ -153,7 +153,7 @@
 % } elsif ( $payby eq 'CHEK' ) {
 %     my( $payinfo1, $payinfo2, $payname, $ss ) = ( '', '', '', '' );
 %     if ( $cust_main->payby =~ /^(CHEK|DCHK)$/ ) {
-%       $cust_main->payinfo =~ /^(\d+)\@(\d+)$/
+%       $cust_main->paymask =~ /^(\d+)\@(\d+)$/
 %         or die "unparsable payinfo ". $cust_main->payinfo;
 %       ($payinfo1, $payinfo2) = ($1, $2);
 %       $payname = $cust_main->payname;



More information about the freeside-commits mailing list