Support Forums

Authorize.net with GoDaddy

This is a discussion on Authorize.net with GoDaddy within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Authorize.net requires secure CURL connections to go through their proxy. So if you have issues using Authorize.net with GoDaddy hosting ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 03-04-2008, 12:49 PM   #1
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,493
Rep Power: 133
Eric Barnes is just really nice Eric Barnes is just really nice
Default Authorize.net with GoDaddy

Authorize.net requires secure CURL connections to go through their proxy. So if you have issues using Authorize.net with GoDaddy hosting you should open the file includes/paymentapi/authorizenet-aim/sr.php and locate this line: (around llne 141)

PHP Code:
curl_setopt($chCURLOPT_RETURNTRANSFER1); 
Below it add:
PHP Code:
curl_setopt($chCURLOPT_VERBOSE1);
curl_setopt ($chCURLOPT_HTTPPROXYTUNNELTRUE);
curl_setopt ($chCURLOPT_PROXYTYPECURLPROXY_HTTP);
curl_setopt ($chCURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt ($chCURLOPT_SSL_VERIFYPEERFALSE);
curl_setopt ($chCURLOPT_TIMEOUT120); 
Reference: http://help.godaddy.com/article/289
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
GoDaddy + IonCube Unregistered Pre Sales Questions 2 12-23-2006 12:31 PM


All times are GMT -4. The time now is 10:02 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0