paypal error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

paypal 关于 错误提示 error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

这个问题主要是由于paypal变更了sandbox的服务器地址导致的错误。
修改的方法:
1、修改文件 includes/modules/payment/paypal/paypal_curl.php
var $_endpoints = array(‘live’ ? ?=> ‘https://api-3t.paypal.com/nvp’,
//’sandbox’ => ‘https://api.sandbox.paypal.com/nvp’);修改为下面这个地址
‘sandbox’ => ‘https://api-3t.sandbox.paypal.com/nvp’);
2、修改文件 includes/modules/payment/paypaldp.php
$doPayPal->_endpoints = array(‘live’ ? ?=> ‘https://api-3t.paypal.com/nvp’,
// ‘sandbox’ => ‘https://api.sandbox.paypal.com/nvp’);修改为下面的地址
‘sandbox’ => ‘https://api-3t.sandbox.paypal.com/nvp’);
3、修改文件 includes/modules/payment/paypalwpp.php
$doPayPal->_endpoints = array(‘live’ ? ?=> ‘https://api-3t.paypal.com/nvp’,
//’sandbox’ => ‘https://api.sandbox.paypal.com/nvp’);修改为下面的地址
‘sandbox’ => ‘https://api-3t.sandbox.paypal.com/nvp’);
This entry was posted in ZEN CART技术问题. Bookmark the permalink.