[freeside-commits] freeside/httemplate/misc/process payment.cgi, 1.25, 1.26
Ivan,,,
ivan at wavetail.420.am
Mon Aug 8 12:20:42 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail.420.am:/tmp/cvs-serv21544
Modified Files:
payment.cgi
Log Message:
fix echeck-no_routing fallout, RT#13997, RT#13885
Index: payment.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/payment.cgi,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -w -d -r1.25 -r1.26
--- payment.cgi 6 Aug 2011 00:50:48 -0000 1.25
+++ payment.cgi 8 Aug 2011 19:20:39 -0000 1.26
@@ -21,6 +21,8 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied" unless $curuser->access_right('Process payment');
+my $conf = new FS::Conf;
+
#some false laziness w/MyAccount::process_payment
$cgi->param('custnum') =~ /^(\d+)$/
@@ -201,7 +203,6 @@
#false laziness w/FS:;cust_main::realtime_bop - check both to make sure
# working correctly
- my $conf = new FS::Conf;
if ( $payby eq 'CARD' &&
grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save') ) {
$new->set( 'paycvv' => $paycvv );
More information about the freeside-commits
mailing list