dev-master
9999999-dev https://github.com/pulkitjalan/laravel-braintreeLaravel Service Provider for Braintree
MIT
The Requires
by Pulkit Jalan
laravel braintree
Wallogit.com
2017 © Pedro Peláez
Laravel Service Provider for Braintree
Laravel Service Provider for Braintree, (*1)
Install via composer - edit your composer.json to require the package., (*2)
composer require pulkitjalan/laravel-braintree
Add the following to the providers array in your config/app.php, (*3)
PulkitJalan\Braintree\BraintreeServiceProvider::class
Next, You should configure the following options in your services.php file:, (*4)
'braintree' => [
'environment' => env('BRAINTREE_ENV'),
'merchant_id' => env('BRAINTREE_MERCHANT_ID'),
'public_key' => env('BRAINTREE_PUBLIC_KEY'),
'private_key' => env('BRAINTREE_PRIVATE_KEY'),
],
Finally, set the environment variables in your .env file:, (*5)
BRAINTREE_ENV=YOUR_BRAINTREE_ENV BRAINTREE_MERCHANT_ID=YOUR_BRAINTREE_MERCHANT_ID BRAINTREE_PUBLIC_KEY=YOUR_BRAINTREE_PUBLIC_KEY BRAINTREE_PRIVATE_KEY=YOUR_BRAINTREE_PRIVATE_KEY
https://articles.braintreepayments.com/control-panel/important-gateway-credentials, (*6)
Laravel Service Provider for Braintree
MIT
laravel braintree