Jump to content

Photo
- - - - -

[FIX] Important compatibility fix for websites using PayPal

SSL 3 PayPal Compatibility Fix

  • Please log in to reply
3 replies to this topic

#1 crossy4life

crossy4life

    Blue Team Charlie 2

  • Moderators
  • Level
  • 528 points
  • 1,497 posts
    • Gender:Male
    • Location:Wales, Cardiff
    • Software:SE 4.8.x


Users Awards

Posted 26 November 2014 - 10:27 PM

Paypal SSL 3.0 Poodle
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 download the patch attached to this article and extract the downloaded file to get a folder named application.
Replace the existing file: /application/libraries/Engine/Service/PayPal.php

on your server with the corresponding file at the same path in the downloaded application folder.

If you would prefer to apply the fix directly to your website, then 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.

Attached Files


Edited by Les, 17 December 2015 - 01:00 AM.

Cheap Web Hosting From as little as $1.99

 


#2 alvaroreyesacebal

alvaroreyesacebal

    Level 1

  • Members
  • Level
  • 4 points
  • 21 posts
    • Gender:Male
    • Software:SE 4.8.x

Posted 08 December 2014 - 07:52 PM

THANK YOU!!!



#3 MissTSiz

MissTSiz

    Level 1

  • Members
  • Level
  • 8 points
  • 21 posts

Posted 16 January 2015 - 03:22 AM

thanks for clearing that uP!



#4 Shashi

Shashi

    Basic Developer

  • Members
  • Level
  • 32 points
  • 164 posts
    • Gender:Male
    • Location:Muscat

Posted 11 August 2018 - 09:27 AM

Thank you very much bhai..


Posted Image





Also tagged with one or more of these keywords: SSL 3, PayPal, Compatibility Fix

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


All the resources listed here are just for testing purpose and they shouldn't be used at any commercial environment without a valid license.
Those are for users who wants to try them before buy. Help the developer to build it better by purchasing them from original authors.