jka Posted November 15, 2018 Share Posted November 15, 2018 Has anyone got this PayPal 1.1.14 extension working. We got all the API info into the extension. The test endpoint works fine and successfully. However when we try a transaction through the cart it fails. The error under request log is as follows ... cURL Error (35): SSL version range is not valid. The server has the latest cURL as well as OpenSSL. Link to comment Share on other sites More sharing options...
bsmither Posted November 15, 2018 Share Posted November 15, 2018 Please verify: In admin, PHP Info, scroll to the curl table. Please give the SSL Version listed here. Link to comment Share on other sites More sharing options...
jka Posted November 15, 2018 Author Share Posted November 15, 2018 The SSL Version under cURL is NSS/3.36. I did some poking around with error 35. It seems few others also have the same issue after upgrading to the latest cURL version 7.62. I downgraded it to 7.29 and it worked fine. We have to wait for them to fix 7.62 or otherwise need to downgrade to 7.61. Link to comment Share on other sites More sharing options...
jka Posted November 15, 2018 Author Share Posted November 15, 2018 BSmither et-all Wanted to share here the resolution to the cURL error 35. We thought that it may be something to do with cURL 7.62 but it was not even though it may have caused it with the latest libraries. We saw this issue only when accessing the sandbox environment but from the same server the Live system worked fine. After some poking around and a few calls with the Paypal integration team we found the line of code that made the sandbox environment cough back at us. We commented the following lines in website_payments_pro.class.php /* ## Sandbox requires TLS 1.2 if($this->_module['gateway']=='0') { $request->customOption(CURLOPT_SSLVERSION, 6); } */ So, with the new cURL libraries 7.62 which is the latest, this above causes the cURL error 35. Once we commented it, everything on the sandbox site works fine now as well as the Live site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.