A free FreeScout module to integrate Stripe with FreeScout. View critical customer information like Subscription, Invoice and Orders with this free FreeScout module of Stripe from weDevs
Add weDevsOfficial/Laravel-FreeScout-Stripe-Module
package to your dependencies.
composer require "weDevsOfficial/Laravel-FreeScout-Stripe-Module"
After requiring package, add service provider of this package to providers in config/app.php
.
'providers' => array(
// ...
Modules\Stripe\Providers\StripeServiceProvider::class,
)
If you want to use this package like a freescout modules, First you need to clone or download this package and put it inside the modules folder. Then need to install stripe client via composer
composer require stripe/stripe-php
For more information about modules development process and artisan command you can Go nwidart modules development docs.
After requiring the package, You need to publish migration file. You can publish it with following command.
php artisan vendor:publish --tag=stripe-migration
After publishing migration file, You need to run migration command
php artisan migrate
Laravel FreeScout Stripe Module package use laravel caching for stripe data. You can change caching timeout from config file. you can publish it with following command.
php artisan vendor:publish --tag=stripe-config
After publishing them, you can find config files (stripe.php) in your config folder. Now you can modify caching timeout according to your needs.
To retrieving stripe data, put your stripe secret key in stripe settings page. this settings link locate at inbox settings menu list. you can retrieve stripe data for each inbox. That's why you need to put the secret key for each inbox separately.