[BlueOnyx:04182] Re: php-based Authorize.net script
Herb Rubin
herbr at pfinders.com
Tue Apr 6 10:33:58 -05 2010
Try writing a simple curl PHP script and see if it works. That could show
if curl is the issue or not.
<?php
$ch = curl_init("http://www.google.com/");
$fp = fopen("google.txt", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
?>
Herb
----- Original Message -----
From: "Adam Lepp" <a at netqb.com>
To: "BlueOnyx General Mailing List" <blueonyx at blueonyx.it>
Sent: Monday, April 5, 2010 6:39:26 PM GMT -08:00 US/Canada Pacific
Subject: [BlueOnyx:04178] Re: php-based Authorize.net script
Thanks Michael,
Unfortunately this didn't work. Restarted httpd also.
Any other ideas?
-----Original Message-----
From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of Michael Stauber
Sent: Monday, April 05, 2010 8:47 PM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:04177] Re: php-based Authorize.net script
Hi Adam,
> I have the php-based Authorize.net credit card processing script (the AIM
> version from authnetscripts.com) on a website.
> It worked great for several years on my (previous) BQ server.
> With my recent upgrade to BX, it now produces the error:
>
> "We're Sorry your credit card was declined for the following reason:
> Credit card number is required.
> Please click here to submit your transaction again."
>
> This is despite the fact that all fields are filled out with valid
> information.
> I've suspected a cURL or OpenSSL error, but those modules are installed.
This is probably related to the PHP Security settings of that site.
You may have to turn off "Safe Mode" and/or may have to add ":/usr/bin/" to
the "Open Basedir" path of that site in order for it to use the command line
version of Curl from within PHP.
--
With best regards
Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
--
Herb Rubin
Pathfinders Software
http://www.pfinders.com
More information about the Blueonyx
mailing list