[freeside-commits] freeside/FS/FS cust_main.pm,1.271.2.7,1.271.2.8
Jeff Finucane,420,,
jeff at wavetail.420.am
Fri Apr 6 16:58:54 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv29786/FS/FS
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_main.pm
Log Message:
integrate new echeck fields into freeside backend payment processing (backport)
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.271.2.7
retrieving revision 1.271.2.8
diff -u -d -r1.271.2.7 -r1.271.2.8
--- cust_main.pm 6 Apr 2007 19:41:57 -0000 1.271.2.7
+++ cust_main.pm 6 Apr 2007 23:58:52 -0000 1.271.2.8
@@ -70,7 +70,7 @@
$ignore_expired_card = 0;
@encrypted_fields = ('payinfo', 'paycvv');
- at paytypes = ('Personal checking', 'Personal savings', 'Business checking', 'Business savings');
+ at paytypes = ('', 'Personal checking', 'Personal savings', 'Business checking', 'Business savings');
#ask FS::UID to run this stuff for us later
#$FS::UID::callback{'FS::cust_main'} = sub {
@@ -2609,9 +2609,12 @@
( $content{account_number}, $content{routing_code} ) =
split('@', $payinfo);
$content{bank_name} = $o_payname;
- $content{account_type} = 'CHECKING';
+ $content{bank_state} = $self->getfield('paystate');
+ $content{account_type} = uc($self->getfield('paytype')) || 'CHECKING';
$content{account_name} = $payname;
$content{customer_org} = $self->company ? 'B' : 'I';
+ $content{state_id} = $self->getfield('stateid');
+ $content{state_id_state} = $self->getfield('stateid_state');
$content{customer_ssn} = exists($options{'ss'})
? $options{'ss'}
: $self->ss;
More information about the freeside-commits
mailing list