Connecting Tech Pros Worldwide Forums | Help | Site Map

Authorize.net and Curl Problem

machodev
Guest
 
Posts: n/a
#1: Jul 17 '05
Hello Friends,

Getting a bit fuzzy on the Authorize.net and the Curl Integration.

I have the script using the for the authorize.net Integration
with the curl command
exec("/usr/local/bin -m 120 -d \"$data\" $authnet_url",
$return_string);

well the curl path is right /usr/local/bin/
The curl is installed wiht the ssl support
The values passed are also very right .

But yet i am not getting the response from the authorize.net

I tried using the complete string onto the command line on the SSH
access.
The response I got was only that the problem in the syntax.

Well I have a keen notion that the problem does exists in the Curl
installation with some more support or features.

Can anyone help me out in this ?
I really need this urgently.

Thanks
machodev

Alvaro G Vicario
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Authorize.net and Curl Problem


*** machodev wrote/escribió (14 Nov 2003 00:59:41 -0800):[color=blue]
> exec("/usr/local/bin -m 120 -d \"$data\" $authnet_url",
> $return_string);
>
> well the curl path is right /usr/local/bin/[/color]

Is it a typo? /usr/local/bin is normally a directory, it should be
something like /usr/local/bin/curl

How does you script get the return value? I remind you that $return_string
will get the numeric return code of the external app (usually 0 if all's
fine, non-zero if error).


--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Closed Thread


Similar PHP bytes