[freeside-commits] freeside/FS/FS cust_main.pm, 1.271.2.29, 1.271.2.30
Ivan,,,
ivan at wavetail.420.am
Thu Nov 29 17:16:11 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv8184
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_main.pm
Log Message:
fix compilation error from patch just applied - method2payby is needed earlier
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.271.2.29
retrieving revision 1.271.2.30
diff -u -d -r1.271.2.29 -r1.271.2.30
--- cust_main.pm 29 Nov 2007 02:55:08 -0000 1.271.2.29
+++ cust_main.pm 30 Nov 2007 01:16:09 -0000 1.271.2.30
@@ -2481,6 +2481,12 @@
? $options{'payinfo'}
: $self->payinfo;
+ my %method2payby = (
+ 'CC' => 'CARD',
+ 'ECHECK' => 'CHEK',
+ 'LEC' => 'LECB',
+ );
+
###
# select a gateway
###
@@ -2823,12 +2829,6 @@
if ( $transaction->is_success() ) {
- my %method2payby = (
- 'CC' => 'CARD',
- 'ECHECK' => 'CHEK',
- 'LEC' => 'LECB',
- );
-
my $paybatch = '';
if ( $payment_gateway ) { # agent override
$paybatch = $payment_gateway->gatewaynum. '-';
More information about the freeside-commits
mailing list