Magento 1.9.3.2 – Paypal funktioniert nicht – PayPal NVP CURL connection error #6: Could not resolve host

Hier ein aktuelles Paypal Problem mit Magento 1.9(3.2) wo die Ursache noch unklar ist.

Verhalten:

Das Laden der Zahlungsarten im Bereich Checkout dauert extrem lange. Nach der Wahl von Paypal und klick auf weiter, erfolgt ein Fehler bzw. der User wird zurück in den Warenkorb geleitet.

Dazu erscheint die Meldung “Verbindung zum PayPal Gateway konnte nicht hergestellt werden.”

Problem trat auf um den 7.11.2018 ohne das etwas verändert wurde (bzw. nichts bekannt)

Betrifft sowohl paypal express und iways paypal plus

Vermutungen sind aktuell ein Problem mit Server insbesondere curl Version

https://magento.stackexchange.com/a/99460

https://magento.stackexchange.com/questions/104748/paypal-plus-magento-1-9-2-2

https://magento.stackexchange.com/questions/99411/m1-tls-1-2-paypal-express-nvp-curl-connection-error-35-ssl-connect-error

 

Lösung zum Testen ob Curl Version das Problem ist

<?php

$info = curl_version();
echo “curl version”.$info[“version”];

echo “</br>”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “https://tlstest.paypal.com/”);
var_dump(curl_exec($ch));
var_dump(curl_error($ch));

?>

Die korrekte Ausgabe ist dann in etwa

curl version7.52.1 => Die Version kann abweichen
PayPal_Connection_OKbool(true) string(0) “”

 

Lösung:

aktuell keine. Wer selbe Problem oder bereits Lösung hat gerne in die Kommentare.

 

gefunden bereits:

Curl Version war: 7.38.0

Nach einem Update auf Curl 7.52.1 kam beim Testlauf mit obigem Skript bereits die korrekte Ausgaben. Das hat das Problem gelöst.

 

 

 

Fehler in den Logs sind

2018-11-28T09:58:07+00:00 ERR (3):
exception ‘Exception’ with message ‘PayPal NVP CURL connection error #6: Could not resolve host: api-3t.paypal.com’ in /app/code/core/Mage/Paypal/Model/Api/Nvp.php:985
Stack trace:
#0 app/code/core/Mage/Paypal/Model/Api/Nvp.php(617): Mage_Paypal_Model_Api_Nvp->call(‘SetExpressCheck…’, Array)
#1 app/code/core/Mage/Paypal/Model/Express/Checkout.php(381): Mage_Paypal_Model_Api_Nvp->callSetExpressCheckout()
#2 app/code/core/Mage/Paypal/Controller/Express/Abstract.php(108): Mage_Paypal_Model_Express_Checkout->start(‘https://www.sch…’, ‘https://www.sch…’, true)
#3 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Paypal_Controller_Express_Abstract->startAction()
#4 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘start’)
#5 app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#6 app/code/core/Mage/Core/Controller/Varien/Front.php(172): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#8 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 index.php(83): Mage::run(”, ‘store’)
#10 {main}
2018-11-28T09:58:28+00:00 ERR (3):
exception ‘Exception’ with message ‘PayPal NVP CURL connection error #6: Could not resolve host: api-3t.paypal.com’ in app/code/core/Mage/Paypal/Model/Api/Nvp.php:985
Stack trace:
#0 app/code/core/Mage/Paypal/Model/Api/Nvp.php(782): Mage_Paypal_Model_Api_Nvp->call(‘getPalDetails’, Array)
#1 app/code/core/Mage/Paypal/Model/Express/Checkout.php(189): Mage_Paypal_Model_Api_Nvp->callGetPalDetails()
#2 app/code/core/Mage/Paypal/Block/Express/Shortcut.php(135): Mage_Paypal_Model_Express_Checkout->getCheckoutShortcutImageUrl()
#3 app/code/core/Mage/Core/Block/Abstract.php(922): Mage_Paypal_Block_Express_Shortcut->_beforeToHtml()
#4 app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#5 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#6 app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#7 app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml(‘top_methods’, true)
#8 app/design/frontend/default/HW_v2/template/checkout/cart.phtml(6): Mage_Core_Block_Abstract->getChildHtml(‘top_methods’)
#9 app/code/core/Mage/Core/Block/Template.php(241): include(‘/home/schreiner…’)
#10 app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#11 app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#12 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#13 app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#14 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#15 app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#16 app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml(‘content’, true)
#17 app/design/frontend/default/HW_v2/template/page/1column.phtml(71): Mage_Core_Block_Abstract->getChildHtml(‘content’)
#18 app/code/core/Mage/Core/Block/Template.php(241): include(‘/home/schreiner…’)
#19 app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#20 app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#21 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#22 app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#23 app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#24 app/code/core/Mage/Checkout/controllers/CartController.php(198): Mage_Core_Controller_Varien_Action->renderLayout()
#25 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_CartController->indexAction()
#26 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
#27 app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 app/code/core/Mage/Core/Controller/Varien/Front.php(172): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#30 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#31 index.php(83): Mage::run(”, ‘store’)
#32 {main}
2018-11-28T09:58:28+00:00 ERR (3):
exception ‘Mage_Core_Exception’ with message ‘Verbindung zum PayPal Gateway konnte nicht hergestellt werden.’ in app/Mage.php:595
Stack trace:
#0 app/code/core/Mage/Paypal/Model/Api/Nvp.php(990): Mage::throwException(‘Verbindung zum …’)
#1 app/code/core/Mage/Paypal/Model/Api/Nvp.php(782): Mage_Paypal_Model_Api_Nvp->call(‘getPalDetails’, Array)
#2 app/code/core/Mage/Paypal/Model/Express/Checkout.php(189): Mage_Paypal_Model_Api_Nvp->callGetPalDetails()
#3 app/code/core/Mage/Paypal/Block/Express/Shortcut.php(135): Mage_Paypal_Model_Express_Checkout->getCheckoutShortcutImageUrl()
#4 app/code/core/Mage/Core/Block/Abstract.php(922): Mage_Paypal_Block_Express_Shortcut->_beforeToHtml()
#5 app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#6 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#7 app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#8 app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml(‘top_methods’, true)
#9 app/design/frontend/default/HW_v2/template/checkout/cart.phtml(6): Mage_Core_Block_Abstract->getChildHtml(‘top_methods’)
#10 app/code/core/Mage/Core/Block/Template.php(241): include(‘/home/schreiner…’)
#11 app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#12 app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#13 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#14 app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#16 app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#17 app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml(‘content’, true)
#18 app/design/frontend/default/HW_v2/template/page/1column.phtml(71): Mage_Core_Block_Abstract->getChildHtml(‘content’)
#19 app/code/core/Mage/Core/Block/Template.php(241): include(‘/home/schreiner…’)
#20 app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#21 app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#23 app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#24 app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#25 app/code/core/Mage/Checkout/controllers/CartController.php(198): Mage_Core_Controller_Varien_Action->renderLayout()
#26 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_CartController->indexAction()
#27 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
#28 app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 app/code/core/Mage/Core/Controller/Varien/Front.php(172): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#30 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#31 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#32 index.php(83): Mage::run(”, ‘store’)
#33 {main}
2018-11-28T10:02:51+00:00 ERR (3):
exception ‘Exception’ with message ‘PayPal NVP CURL connection error #6: Could not resolve host: api-3t.paypal.com’ in app/code/core/Mage/Paypal/Model/Api/Nvp.php:985
Stack trace:
#0 app/code/core/Mage/Paypal/Model/Api/Nvp.php(617): Mage_Paypal_Model_Api_Nvp->call(‘SetExpressCheck…’, Array)
#1 app/code/core/Mage/Paypal/Model/Express/Checkout.php(381): Mage_Paypal_Model_Api_Nvp->callSetExpressCheckout()
#2 app/code/core/Mage/Paypal/Controller/Express/Abstract.php(108): Mage_Paypal_Model_Express_Checkout->start(‘https://www.sch…’, ‘https://www.sch…’, false)
#3 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Paypal_Controller_Express_Abstract->startAction()
#4 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘start’)
#5 app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#6 app/code/core/Mage/Core/Controller/Varien/Front.php(172): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#8 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 index.php(83): Mage::run(”, ‘store’)
#10 {main}
2018-11-28T10:03:12+00:00 ERR (3):
exception ‘Exception’ with message ‘PayPal NVP CURL connection error #6: Could not resolve host: api-3t.paypal.com’ in app/code/core/Mage/Paypal/Model/Api/Nvp.php:985
Stack trace:
#0 app/code/core/Mage/Paypal/Model/Api/Nvp.php(617): Mage_Paypal_Model_Api_Nvp->call(‘SetExpressCheck…’, Array)
#1 app/code/core/Mage/Paypal/Model/Express/Checkout.php(381): Mage_Paypal_Model_Api_Nvp->callSetExpressCheckout()
#2 app/code/core/Mage/Paypal/Controller/Express/Abstract.php(108): Mage_Paypal_Model_Express_Checkout->start(‘https://www.sch…’, ‘https://www.sch…’, false)
#3 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Paypal_Controller_Express_Abstract->startAction()
#4 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘start’)
#5 app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#6 app/code/core/Mage/Core/Controller/Varien/Front.php(172): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#8 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 index.php(83): Mage::run(”, ‘store’)
#10 {main}

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.