X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FCron%2Fpay_batch.pm;h=faa9cd9cef78890b9c2eec1d34311e64156d4097;hp=c9039b8d8c8b1685cda8eb0d8144ead08ed47280;hb=7c079bd8cb5ccf5381ac0c054438efcd0645ddbf;hpb=038ad47addd4168c74165c4a79051e4d2599258e diff --git a/FS/FS/Cron/pay_batch.pm b/FS/FS/Cron/pay_batch.pm index c9039b8d8..faa9cd9ce 100644 --- a/FS/FS/Cron/pay_batch.pm +++ b/FS/FS/Cron/pay_batch.pm @@ -67,7 +67,7 @@ sub pay_batch_submit { my ($gateway, $payby, $agentnum) = @$config; if ( $gateway->batch_processor->can('default_transport') ) { - my $search = { status => 'O', payby => $payby }; + my $search = { status => 'O', payby => $payby, type => 'DEBIT' }; $search->{agentnum} = $agentnum if $agentnum; foreach my $pay_batch ( qsearch('pay_batch', $search) ) {