((I recently
did a Zen Cart install withPayPal IPN and it seems
that Go Daddy has fixed this issue.))
I
was doing a Zen Cart for a very talented
clothing designer Janese
Maricelli. (Zen
Cart Link), the project was going well until
I installed the PayPal payment module and tested
the payment process. The payment would clear
through PayPal but the return token would not
get back to the cart!
The error was, "-- IPN FATAL ERROR :: Could
not establish fsockopen.
Host Details = http://proxy.shr.secureserver.net:80
(0) Success”
Both the GoDaddy and PayPal "(no) help" line
did not help!
Well after 6 hours I found the fix on the
Zen Cart forum! Link
Zen Cart Forum Posting. The Post is titled, "ISSUE
WITH GODADDY HOSTING CUSTOMERS VS PAYPAL"
The fix was easy and required changing 2 lines
of code:
According to "DrByte" (from the Zen Cart Forum),
"GoDaddy and broken PayPal (and other) Payment
modules --------------------------------------------------------------------------------
In September 2008, GoDaddy made changes to their
hosting-server configuration and removed the need
for the proxy server in order to handle outbound
communication. This means you no longer need to
use the CURL Proxy option to talk to external hosts.
So, IF YOU ARE USING GODADDY HOSTING, you need
to make the following change: 1. Go to Admin->Configuration->My
Store ... and set CURL Proxy Status = false This
should re-enable your payment (and some shipping)
modules for their outbound communication."
IF the above does not work, try::
"The
quick workaround to this is to make two small
edits to one file:
/includes/modules/payment/paypal/paypal_functions.php
Around line 443 you'll see the following section
of code.
Make the changes by adding the text shown in red:
$proxy = $web;
if (false && CURL_PROXY_REQUIRED
== 'True' && CURL_PROXY_SERVER_DETAILS
!= '') { $proxy = parse_url($scheme . CURL_PROXY_SERVER_DETAILS);
$ssl = ($ssl == '') ? 'http://' : $ssl;
}
//Post Data if
(false && CURL_PROXY_REQUIRED
== 'True' && CURL_PROXY_SERVER_DETAILS
!= '') { $header = "POST " . $ssl . $web[host]
. $web[path] . " HTTP/1.1\r\n"; $header .= "Host:
$proxy[host]\r\n"; } else { $header = "POST $web[path]
HTTP/1.1\r\n"; $header .= "Host: $web[host]\r\n";
}
Much thanks to "DrByte" who posted the fix
on the Zen Cart Forum.
SHAME! on PayPal and GoDaddy for not having this
information! (as well as all of the bad info they
both gave me!).
I have posted and directed you to all of the info
you need to fix this problem! But, if you still
need help installing the patch, I would be happy
to assist you with this issue and install the patch
on your Zen Cart. I can do this for
you regardless of your location!).
Contact
Me!
Zen
Cart Installation $499