[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Re: Payment.pm, Authorize.Net and wget - Problem Solved


On Tuesday 06 February 2007 05:30, Peter wrote:
> > I changed "system @args;" to "system(join(" ", @args));"  in
> > lib/Vend/Payment.pm and it works now, why, I'm not sure.
> > I realize one is "system LIST" and one is "system SCALAR", but either
> > *should* work.  I had dumped %ENV to the debug log and both calls had the
> > same %ENV. I'm just guessing that the LIST call was failing due to some
> > configuration specific to this machine.
>
> I suspect strange whitespace chars in the @args that are mitigated by
> joining together with space.  What do you get in your debug log if you
> add the line:
> logDebug(::uneval({'@args' => suppressed));

Then I suspect it would be:
	Route  authorizenet  use_wget     "/usr/local/bin/wget --no-check-certificate"

So $cmd would be "/usr/local/bin/wget --no-check-certificate"

-- 

   - havoc

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.