velvetongue Posted April 15, 2008 Share Posted April 15, 2008 I am using the Authorize.net AIM module bundled in with OS Commerce v2.2: Authorize.net Advanced Integration Method v1.0 http://www.oscommerce.com/community/contri...M+authorize.net My site is on a godaddy server, and i know i have to modify the php in order for it to support curl. According to godaddy: http://help.godaddy.com/article/289?prog_id=GoDaddy 1) Which files do i have to modify so the php will support curl? Please specify line by line value if possible (according to this contribution) ... 2) How do I know which is my correct curl directory (that the module asks for)? Currently when it gets to the checkout page it just sits there and sort of hangs. Please help! ------------ Please let me know also if there are any better contributions out there that will work flawlessly with Authorize.net AIM and on a godaddy server, or what I can do to fix my issue. I've scoured the forums for any documentation and have found none. Thank you! Quote Link to comment Share on other sites More sharing options...
shellyky Posted April 23, 2008 Share Posted April 23, 2008 i'm in your same boat. I found this post and it fixed my 'hang/timeout' issue, but now i just get a 'general error' when i try to charge a card... im so frustrated--anyways, here's the post w/ code in it http://www.oscommerce.com/forums/index.php?showtopic=293045 Quote Link to comment Share on other sites More sharing options...
jsmith2 Posted May 27, 2008 Share Posted May 27, 2008 I am using the Authorize.net AIM module bundled in with OS Commerce v2.2: Authorize.net Advanced Integration Method v1.0 http://www.oscommerce.com/community/contri...M+authorize.net My site is on a godaddy server, and i know i have to modify the php in order for it to support curl. According to godaddy: http://help.godaddy.com/article/289?prog_id=GoDaddy 1) Which files do i have to modify so the php will support curl? Please specify line by line value if possible (according to this contribution) ... 2) How do I know which is my correct curl directory (that the module asks for)? Currently when it gets to the checkout page it just sits there and sort of hangs. Please help! ------------ Please let me know also if there are any better contributions out there that will work flawlessly with Authorize.net AIM and on a godaddy server, or what I can do to fix my issue. I've scoured the forums for any documentation and have found none. Thank you! Have you found an issue to this? Here is a few lines in my authorizenet_cc_aim.php if (function_exists('curl_init')) { $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['curl'] . (isset($server['query']) ? '?' . $server['query'] : '')); curl_setopt($curl, CURLOPT_PORT, $server['port']); curl_setopt($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_FORBID_REUSE, 1); curl_setopt($curl, CURLOPT_FRESH_CONNECT, 1); Where do I Put curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt($curl, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.