我的代码是:
require_once 'braintree/Braintree.php';
Braintree_Configuration::environment('sandbox');
Braintree_Configuration::merchantId('6mh3jxjv5smdpyh3');
Braintree_Configuration::publicKey('j4hgps5mp4bqtm2m');
Braintree_Configuration::privateKey('97a526828d7402c09d4d5fdfff197ab5');
$arguments=array();
echo $token = Braintree_ClientToken::generate();
令牌生成localhost.But在服务器中会出现错误未捕获异常'Braintree_Exception_SSLCertificate'.Http.php页面上的错误
答案 0 :(得分:0)
我从BT获得了关于TLSv弃用的一些信息< 1.2用于他们的Sandbox,这将需要更新一个SDK。