I was getting the following error when clicking on the confirm order button: This account has not been given the permission(s) required for this request. - Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance.
I found some threads about this problem, and tried using some of the code fixes from there. I can now checkout, the order is recorded in the Zen admin, but I don't get a transaction with in the authorize.net account.
Here is what I have in the code for lines 350-371:
// SEND DATA BY CURL SECTION
// Post order info data to Authorize.net, make sure you have cURL support installed
unset($response);
// The commented line below is an alternate connection method
//exec("/usr/bin/curl -d \"$data\" https://secure.authorize.net/gateway/transact.dll", $response);
$url = 'https://secure.authorize.net/gateway/transact.dll';
$ch = curl_init();
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, FALSE);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
//curl_setopt ($ch, CURLOPT_PROXY,"http://64.202.165.130:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
$authorize = curl_exec($ch);
curl_close ($ch);
I commented out the goDaddy proxy - I contacted the host (cybrhost) and they said that they don't use any proxies. The guy also said he didn't know what curl was, so that concerns me a little. I found this in the Zen admin: Curl enabled libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4
I know there's still something wrong but I don't know what!
I've made sure that SSL is turned on, the credit cards in the admin are turned on as well.
I'm using version 1.3.5. I tried using the code from the 1.3.6 authorizenet_aim.php file and get the same error.
Bookmarks