Jump to content
Sign in to follow this  
velvetongue

Authorize.net AIM v1.0 module with godaddy servers, help with curl?

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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");

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×