My code is:
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();
Token generate for localhost.But in server there will be a error Uncaught exception 'Braintree_Exception_SSLCertificate' .the error on Http.php page
I got some communication from BT regarding the deprecation of TLSv < 1.2 for their Sandbox, which would entail an update of one's SDK.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.