Add Stripe payment functionality with partial refund feature to your existing Laravel project. The package uses the latest stripe.js v3 and fully customizable to your need.
kamrul-haque/laravel-stripe-payment is a Laravel package for add stripe payment functionality with partial refund feature to your existing laravel project. the package uses the latest stripe.js v3 and fully customizable to your need..
It currently has 1 GitHub stars and 134 downloads on Packagist (latest version v2.0.3).
Install it with composer require kamrul-haque/laravel-stripe-payment.
Discover more Laravel packages by kamrul-haque
or browse all Laravel packages to compare alternatives.
Last updated
Add Stripe payment functionality with partial refund feature to your existing Laravel project. The package uses the latest stripe.js v3 and fully customizable to your need.
Install the package via composer:
composer require kamrul-haque/laravel-stripe-payment
Publish resources of the package:
php artisan vendor:publish --tag="laravel-stripe"
Migrate the necessary database tables:
php artisan migrate
Set the Stripe Api Keys in .env:
// .env
STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
Add routes to web.php:
// routes/web.php
<?php
use App\Http\Controllers as Controllers;
use Illuminate\Support\Facades\Route;
Route::group(['middleware' => 'auth'], function () {
require __DIR__.'/stripe.php';
});
stripe-payments/create uri added to your application by the packagestripe-payments uri added to your application by the package