OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Authorize.net AIM v1.0 module with godaddy servers, help with curl?
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Payment Modules > Authorize.net
velvetongue
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!
shellyky
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://forums.oscommerce.com/index.php?showtopic=293045
jsmith2
QUOTE (velvetongue @ Apr 15 2008, 02:55 PM) *
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");
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.