Heim  >  Artikel  >  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:592054Durchsuche

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn