Connecting Tech Pros Worldwide Help | Site Map

Authorize.net and Curl Problem

  #1  
Old July 17th, 2005, 02:07 AM
machodev
Guest
 
Posts: n/a
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
  #2  
Old July 17th, 2005, 02:08 AM
Alvaro G Vicario
Guest
 
Posts: n/a

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 Threads
Thread Thread Starter Forum Replies Last Post
ssl and php jjrmy1 answers 3 August 7th, 2008 12:55 PM
credit card reciept response Paul Furman answers 11 March 7th, 2007 08:05 PM