Home  >  Article  >  php教程  >  paypal error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 ale

paypal error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 ale

WBOY
WBOYOriginal
2016-06-13 10:53:592093browse

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');

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn