Hi all,
Two days ago the Magento server stop working with Paypal.
When I try to buy something with PayPal it says:
Unable to connect to PayPal gateway.
In var/log/exception.log i could retrieve more infos about it:
2018-07-25T09:45:27+00:00 ERR (3): exception 'Exception' with message 'PayPal NVP CURL connection error #7: Failed to connect to api-3t.paypal.com port 443: Connection timed out' in /www/SITE/app/code/core/Mage/Paypal/Model/Api/Nvp.php:986 Stack trace: #0 /www/SITE/app/code/core/Mage/Paypal/Model/Api/Nvp.php(616): Mage_Paypal_Model_Api_Nvp->call('SetExpressCheck...', Array) #1 /www/SITE/app/code/core/Mage/Paypal/Model/Express/Checkout.php(381): Mage_Paypal_Model_Api_Nvp->callSetExpressCheckout() #2 /www/SITE/app/code/core/Mage/Paypal/Controller/Express/Abstract.php(108): Mage_Paypal_Model_Express_Checkout->start('https://www.the...', 'https://www.the...', false) #3 /www/SITE/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Paypal_Controller_Express_Abstract->startAction() #4 /www/SITE/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('start') #5 /www/SITE/app/code/community/BalkeTechnologies/StoreMaintenance/Controller/Router/Standard.php(91): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #6 /www/SITE/app/code/core/Mage/Core/Controller/Varien/Front.php(172): BalkeTechnologies_StoreMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #7 /www/SITE/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #8 /www/SITE/app/Mage.php(684): Mage_Core_Model_App->run(Array) #9 /www/theberkelworld/index.php(88): Mage::run('', 'store') #10 {main}
I have tried to update CURL :
root@01-89-magento:/www/SITE/var/log# curl -V curl 7.50.2 (x86_64-pc-linux-gnu) libcurl/7.50.2 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
update the file Nvp.php with:
$http->addOption(CURLOPT_SSLVERSION => 6);
and verified my Firewall that allow connection to PayPal.
I read somewhere that maybe PayPal is blocking my connection , it's possible?
Someone that encounter a similar issue and fix it?
Thanks
Fabio
Hi @helpdesk_extra,
Did you solve the problem?