gclawton Posted April 8, 2008 Posted April 8, 2008 Can someone tell me how I can add a proxy for use with oscommerce and paypal express. Godaddy does not support cURL, and my site is hanging on checkout_conformation, or when i try to access a direct pay using the paypal link on my site. I'm told I need to install the proxy into the payment module but dont have an idea where to being. I'm guessing this is my problem here: http://help.godaddy.com/article.php?article_id=289& link I said my site is hanging with people try to pay. I'm not using SSL (although I do have a certificate), and configure/php has SSL as false as it should.
bpopelar Posted April 9, 2008 Posted April 9, 2008 I don't know about the Palpal Express, but in the Paypal IPN contribution... In ext/modules/payments/paypal/ipn.php near line 68 you will find the following code: curl_setopt($ch, CURLOPT_URL, 'https://' . $server . '/cgi-bin/webscr'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $parameters); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); Right after this code, add: // GoDaddy hosted website proxy patch curl_setopt($ch, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128"); // End of GoDaddy proxy patch You should be able to find the similar logic in the Express code Ben
Recommended Posts
Archived
This topic is now archived and is closed to further replies.