[freeside-commits] freeside/FS/FS cust_main.pm, 1.464.2.7, 1.464.2.8

Ivan,,, ivan at wavetail.420.am
Mon Nov 23 22:05:04 PST 2009


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv18566

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_main.pm 
Log Message:
send card number with void transactions for B:OP:IPPay, RT#5690

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.464.2.7
retrieving revision 1.464.2.8
diff -u -d -r1.464.2.7 -r1.464.2.8
--- cust_main.pm	17 Nov 2009 22:06:59 -0000	1.464.2.7
+++ cust_main.pm	24 Nov 2009 06:05:02 -0000	1.464.2.8
@@ -4663,6 +4663,9 @@
   ) {
     warn "  attempting void\n" if $DEBUG > 1;
     my $void = new Business::OnlinePayment( $processor, @bop_options );
+    $content{'card_number'} = $cust_pay->payinfo
+      if $cust_pay->payby eq 'CARD'
+      && $void->can('info') && $void->info('CC_void_requires_card');
     $void->content( 'action' => 'void', %content );
     $void->submit();
     if ( $void->is_success ) {
@@ -6001,6 +6004,9 @@
   ) {
     warn "  attempting void\n" if $DEBUG > 1;
     my $void = new Business::OnlinePayment( $processor, @bop_options );
+    $content{'card_number'} = $cust_pay->payinfo
+      if $cust_pay->payby eq 'CARD'
+      && $void->can('info') && $void->info('CC_void_requires_card');
     $void->content( 'action' => 'void', %content );
     $void->submit();
     if ( $void->is_success ) {



More information about the freeside-commits mailing list