PDA

View Full Version : Godaddy, Autorize.net integration


stevesmith373400
04-16-2009, 09:37 AM
After clicking the submit order button, it goes directly to the checkout failure page. I do not believe that it is even going to authorize.net as they have no record of attempts. I inserted the following code as instructed...

in the WA_eCart/Adv_CO_Scripts/AuthNet_PHP.php file locate the following code:

curl_setopt($ch, CURLOPT_POST,1);

and add the following on a new line after it:

//curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt($ch, 101, 0);
curl_setopt($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt($ch, CURLOPT_TIMEOUT, 120);

...but it still brings back a failure. Does anyone have a process for fixing this? Authorize.net suggest finding the error code that was returned but my failure page gave no such code or reason for failure. I am so close please help.

stevesmith373400
04-16-2009, 09:38 AM
Also, where do I find the transaction key to ensure that it was put in correctly?

Ray Borduin
04-16-2009, 10:09 AM
You will find it in the local checkout function on the confirm page.

stevesmith373400
04-16-2009, 10:29 AM
Got it working. Thanks