[freeside-commits] freeside/httemplate/misc/process payment.cgi, 1.22.4.3, 1.22.4.4
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-serv21550
Modified Files:
Tag: FREESIDE_2_3_BRANCH
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.22.4.3
retrieving revision 1.22.4.4
diff -u -w -d -r1.22.4.3 -r1.22.4.4
--- payment.cgi 6 Aug 2011 00:50:59 -0000 1.22.4.3
+++ payment.cgi 8 Aug 2011 19:20:40 -0000 1.22.4.4
@@ -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