Its working!!!
OSCmonkey <[email protected]> 3 Sep 2003 18:49:38 -0000
| Newsgroups | gmane.comp.web.oscommerce.features |
|---|---|
| Message-ID | <05ca08c99d9d7dfdebeb84940f3d444b@osCommerce-Forums> |
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=223965#223965
----------------------------------------------------------------
It works :shock: :D
I used ntwaddel solution
[quote]I changed this file...
/catalog/includes/modules/authorizenet_direct.php
On the last line
exec("/usr/bin/curl -d \"$data\" https://secure.authorize.net/gateway/transact.dll", $response);
I changed it to this
Code:
$url = "https://secure.authorize.net/gateway/transact.dll";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$authorize = curl_exec($ch);
curl_close ($ch);
$response = split("\,", $authorize);
[/quote][/code]
Seems to work, anyone else using this fix??
Austin is this a good fix???
Thanks