I am using Braintree PHP SDK with Laravel framework.
I installed Braintree through composer.
Then, in AppServiceProvider.php, I have added below code in boot():
Braintree_Configuration::environment('sandbox');
Braintree_Configuration::merchantId('merchand_id');
Braintree_Configuration::publicKey('public_key');
Braintree_Configuration::privateKey('private_key');
When trying to generate client_token, I get below error:
Symfony\Component\Debug\Exception\FatalThrowableError: Class 'App\Providers\Braintree_Configuration' not found in AppServiceProvider.php on line 34