![]() ![]() ![]() ![]() I'm also not happy that I've had to hack the core in a place specific to curl rather than to Paypal.ĭoes anyone have any advice on a correct way to fix this issue? However, I am not happy that I've had to hack the core. ![]() Great! After an apache graceful I can now use Paypal express. +curl_setopt($this->_getResource(), CURLOPT_SSLVERSION, 6) Nano +194 lib/Varien/Http/Adapter/Curl.php curl_setopt_array($this->_getResource(), $options) I don't know if Paypal have changed anything with their sandbox recently, but went to the URL on SSLLabs and saw that the only protocol they support is TLS 1.2.Īfter reading up on setting protocol versions in the PHP manual I hackily added the following #6 /path/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() #5 /path/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #4 /path/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('start') #3 /path/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Paypal_Controller_Express_Abstract->startAction() #2 /path/app/code/core/Mage/Paypal/Controller/Express/Abstract.php(108): Mage_Paypal_Model_Express_Checkout->start(' ' false) #1 /path/app/code/core/Mage/Paypal/Model/Express/Checkout.php(381): Mage_Paypal_Model_Api_Nvp->callSetExpressCheckout() #0 /path/app/code/core/Mage/Paypal/Model/Api/Nvp.php(616): Mage_Paypal_Model_Api_Nvp->call('SetExpressCheck.', Array) Recently I've noticed that Paypal Express no longer works and is returning an error "Unable to communicate with the PayPal gateway.".ĭigging into the exception logs you can see exception 'Exception' with message 'PayPal NVP CURL connection error #35: SSL connect error' in /path/app/code/core/Mage/Paypal/Model/Api/Nvp.php:983 I have a dev environment on an old sever running curl 7.19.7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |