Connecting Tech Pros Worldwide Help | Site Map

Authorize.net and Curl Problem

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:07 AM
machodev
Guest
 
Posts: n/a
Default Authorize.net and Curl Problem

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, 01:08 AM
Alvaro G Vicario
Guest
 
Posts: n/a
Default 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
--
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.