By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,905 Members | 2,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,905 IT Pros & Developers. It's quick & easy.

Authorize.net and Curl Problem

P: 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
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*** machodev wrote/escribió (14 Nov 2003 00:59:41 -0800):
exec("/usr/local/bin -m 120 -d \"$data\" $authnet_url",
$return_string);

well the curl path is right /usr/local/bin/


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
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.