1) In your Laravel project's composer.json file, add oureastudios/laravel5-braintree as a dependency in the require object:
"oureastudios/laravel5-braintree": "dev-master"
2) Update the composer
php composer.phar update or composer update
3) Once installed, add the ServiceProvider to your provider array within config/app.php:
'providers' => [
....
/*
* Braintree Service Provider
*/
'Oureastudios\Laravel\BraintreeServiceProvider',
]
4) Configuration
To publish a the package configuration file, run:
php artisan vendor:publish
Then open config/oureastudios.braintree.php to setup your environment and keys:
I've got error Braintree_Exception_Authorization