[freeside-commits] freeside/FS/FS cust_main.pm,1.477,1.478
Ivan,,,
ivan at wavetail.420.am
Mon Nov 23 22:05:00 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv18550
Modified Files:
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.477
retrieving revision 1.478
diff -u -d -r1.477 -r1.478
--- cust_main.pm 17 Nov 2009 22:06:51 -0000 1.477
+++ cust_main.pm 24 Nov 2009 06:04:57 -0000 1.478
@@ -4774,6 +4774,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 ) {
@@ -6112,6 +6115,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