diff options
author | ivan <ivan> | 2009-11-24 06:04:57 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-11-24 06:04:57 +0000 |
commit | e670183bbb184527df5da958acb7a4b5d41ee6ec (patch) | |
tree | 8970be77fb886b191bd7a06adae52b5224c32632 | |
parent | 9e23adac6e443f9f6bb4d00149143bc3a21998b3 (diff) |
send card number with void transactions for B:OP:IPPay, RT#5690
-rw-r--r-- | FS/FS/cust_main.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 3c4eb4422..47ee23fb2 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4774,6 +4774,9 @@ sub realtime_refund_bop { ) { 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 ) { @@ -6112,6 +6115,9 @@ sub _new_realtime_refund_bop { ) { 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 ) { |