SocialEngine 4: PayPal 3.0 Error

In case you missed the announcement made byAndrew - SocialEngine
PayPal and SE the other week, here is a recap and the fix for the compatibility issues of PayPal SSL 3. SE Say this issue will be fixed in the next version 4.8.7 but have no ETA to the release of this so until then here is the fix for the SSL 3 error.

 

An important announcement has been recently received from PayPal that will affect SocialEngine PHP core’s Payment module. PayPal has recently announced that it will discontinue support for SSL 3.0 on 3 December 2014 at 8:01 a.m. GMT because of vulnerability to version 3 of Secure Sockets Layer (SSL 3.0).

This will cause compatibility problems in SocialEngine PHP powered website when using PayPal as one of their payment gateways, resulting in the inability of customers to pay with PayPal. Thus, website administrators using PayPal as a gateway on their SocialEngine PHP website should apply the below code level change immediately to avoid any such issues after December 3rd, 2014.
To make this compatibility fix in your SocialEngine PHP installation’s core, you can apply the fix to your website, simply open the file:

/application/libraries/Engine/Service/PayPal.php at around line 100.

You should see the following:

$adapter->setCurlOption(CURLOPT_SSLVERSION, 3);

Simply comment out the line above:

// $adapter->setCurlOption(CURLOPT_SSLVERSION, 3);

Note: If, after doing above changes, your site experiences some unexpected errors, then please make sure that you have the latest version of cURL on your server and PHP is built with that version. If not, please ask your hosting company to upgrade cURL on your server.

Looking for quality SocialEngine Hosting? Look no further than Arvixe Web Hosting!
Tags: , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *