[freeside-commits] freeside/FS/FS cust_main.pm,1.250,1.251
Ivan,,,
ivan at wavetail.420.am
Mon Oct 30 04:39:18 PST 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv23236
Modified Files:
cust_main.pm
Log Message:
realtime_bop: don't pass an empty invoice_number to B:OP, omit the field entirely
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- cust_main.pm 24 Oct 2006 18:26:37 -0000 1.250
+++ cust_main.pm 30 Oct 2006 12:39:16 -0000 1.251
@@ -2518,6 +2518,9 @@
$content{customer_ip} = $payip
if length($payip);
+ $content{invoice_number} = $options{'invnum'}
+ if exists($options{'payip'}) && length($options{'invnum'});
+
if ( $method eq 'CC' ) {
$content{card_number} = $payinfo;
@@ -2583,7 +2586,7 @@
'action' => $action1,
'description' => $options{'description'},
'amount' => $amount,
- 'invoice_number' => $options{'invnum'},
+ #'invoice_number' => $options{'invnum'},
'customer_id' => $self->custnum,
'last_name' => $paylast,
'first_name' => $payfirst,
More information about the freeside-commits
mailing list