X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fagent.pm;h=e1d9ccf1dd63dc5cfea535d3586382d11a927836;hp=810709357a491a303815ca504243457966d5f109;hb=618f8725c360f29941b9d1720eb01fea85403185;hpb=360f89789c45e1fd7cb84b1442d2f0c8353066d9 diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm index 810709357..e1d9ccf1d 100644 --- a/FS/FS/agent.pm +++ b/FS/FS/agent.pm @@ -294,7 +294,7 @@ sub payment_gateway { } } - my $cardtype_search = "AND cardtype != 'ACH'"; + my $cardtype_search = "AND ( cardtype IS NULL OR cardtype <> 'ACH')"; $cardtype_search = "AND cardtype = 'ACH'" if $options{method} eq 'ECHECK'; my $override =