Integrate braintree payment gateway in laravel

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:

Share This:

One thought on “Integrate braintree payment gateway in laravel

Leave a Reply

Your email address will not be published. Required fields are marked *