我正在使用带有 Laravel 框架的 Braintree PHP SDK。
我通过作曲家安装了 Braintree。
然后,在AppServiceProvider.php中,我在boot()中添加了以下代码:
Braintree_Configuration::environment('sandbox');
Braintree_Configuration::merchantId('merchand_id');
Braintree_Configuration::publicKey('public_key');
Braintree_Configuration::privateKey('private_key');
尝试生成client_token时,出现以下错误:
Symfony\Component\Debug\Exception\FatalThrowableError: Class 'App\Providers\Braintree_Configuration' 在第 34 行的 AppServiceProvider.php 中找不到
幕布斯6054654
牛魔王的故事
大话西游666