/fuse-laravel:laravel-stripe-connectfrom fuse-laravel
Implements Stripe Connect for multi-vendor marketplace payments in Laravel: seller onboarding, KYC, payment flows, commissions, payouts, refunds, and compliance.
Ships in fuse-laravel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
After implementation, run fuse-ai-pilot:sniper for validation.
Stripe Connect enables platforms and marketplaces to accept payments and pay out sellers/service providers.
| Use Case | Example | This Skill |
|---|---|---|
| Marketplace | Etsy, eBay | ✅ Yes |
| On-demand services | Uber, DoorDash | ✅ Yes |
| Crowdfunding | Kickstarter | ✅ Yes |
| SaaS with payouts | Substack, Teachable | ✅ Yes |
| Simple SaaS | Netflix, Notion | ❌ Use billing |
| Aspect | Laravel Cashier | Stripe Connect |
|---|---|---|
| Money flow | Customer → You | Customer → Seller (via you) |
| Accounts | 1 Stripe account | Platform + N seller accounts |
| Use case | Subscriptions | Multi-party payments |
| Complexity | Simple | Complex |
stripe_account_id on sellersapp/
├── Http/
│ ├── Controllers/
│ │ └── Connect/
│ │ ├── SellerOnboardingController.php
│ │ ├── MarketplacePaymentController.php
│ │ └── PayoutController.php
│ └── Middleware/
│ └── EnsureSellerOnboarded.php
├── Models/
│ ├── Seller.php ← Connected account holder
│ └── Transaction.php ← Payment records
├── Listeners/
│ └── ConnectWebhookHandler.php
└── Services/
└── StripeConnectService.php
config/
└── services.php ← Stripe keys
routes/
└── web.php ← Webhook routes (no CSRF)
Who handles customer support?
├── Seller handles everything → Standard
├── Platform handles support → Express or Custom
│ ├── Need full UI control? → Custom
│ └── Want Stripe's dashboard? → Express (recommended)
Who appears on customer's bank statement?
├── Seller's name → Direct charges
├── Platform's name → Destination charges (recommended)
└── Complex split? → Separate charges + transfers
| Concept | Description | Reference |
|---|---|---|
| Connected Account | Seller's Stripe account linked to platform | account-types.md |
| Onboarding | KYC process for sellers | onboarding.md |
| Application Fee | Platform's commission on payments | fees-commissions.md |
| Destination Charge | Payment with automatic transfer to seller | payment-flows.md |
| Payout | Transfer from Stripe balance to bank | payouts.md |
| Topic | Reference | When to Consult |
|---|---|---|
| Overview | overview.md | Understanding Connect fundamentals |
| Account Types | account-types.md | Choosing Standard/Express/Custom |
| Payment Flows | payment-flows.md | Direct vs Destination vs Transfers |
| Onboarding | onboarding.md | Seller verification process |
| Fees & Commissions | fees-commissions.md | Platform revenue model |
| Payouts | payouts.md | Paying sellers |
| Refunds & Disputes | refunds-disputes.md | Handling chargebacks |
| Compliance | compliance.md | Legal and tax requirements |
| Template | When to Use |
|---|---|
| Seller.php.md | Seller model with Connect integration |
| SellerOnboardingController.php.md | OAuth and onboarding flow |
| MarketplacePaymentController.php.md | Creating charges with fees |
| PayoutController.php.md | Managing seller payouts |
| ConnectWebhookHandler.php.md | Webhook event handling |
| ConnectRoutes.php.md | Route definitions |
$account = \Stripe\Account::create([
'type' => 'express',
'country' => 'FR',
'email' => $seller->email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);
$seller->update(['stripe_account_id' => $account->id]);
$link = \Stripe\AccountLink::create([
'account' => $seller->stripe_account_id,
'refresh_url' => route('connect.onboarding.refresh'),
'return_url' => route('connect.onboarding.complete'),
'type' => 'account_onboarding',
]);
return redirect($link->url);
$payment = \Stripe\PaymentIntent::create([
'amount' => 10000, // €100.00
'currency' => 'eur',
'payment_method' => $paymentMethodId,
'confirm' => true,
'application_fee_amount' => 1500, // €15.00 platform fee
'transfer_data' => [
'destination' => $seller->stripe_account_id,
],
]);
$account = \Stripe\Account::retrieve($seller->stripe_account_id);
$isOnboarded = $account->charges_enabled && $account->payouts_enabled;
$needsInfo = !empty($account->requirements->currently_due);
account.updated to track onboarding statusStripe Connect (stripe/stripe-php 22.x, current 22.1) is Laravel 13 compatible; the static methods used here (\Stripe\Account::create(), AccountLink::create()) still exist. Adjustments:
connect/webhook from PreventRequestForgery (see [[laravel-auth]])account.updated handler: use Context::add('stripe_account', $accountId) to propagate into the queuefinal readonly class for the Seller DTO and PayoutResultreferences/account-types.md (opens in a new tab)references/compliance.md (opens in a new tab)references/fees-commissions.md (opens in a new tab)references/onboarding.md (opens in a new tab)references/overview.md (opens in a new tab)references/payment-flows.md (opens in a new tab)references/payouts.md (opens in a new tab)references/refunds-disputes.md (opens in a new tab)references/templates/ConnectRoutes.php.md (opens in a new tab)references/templates/ConnectWebhookHandler.php.md (opens in a new tab)references/templates/MarketplacePaymentController.php.md (opens in a new tab)references/templates/PayoutController.php.md (opens in a new tab)references/templates/Seller.php.md (opens in a new tab)references/templates/SellerOnboardingController.php.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
23 skills in this plugin
/fusecoreUse when creating modules, understanding FuseCore structure, or implementing features in a FuseCore modular-monolith Laravel project./laravel-ai-sdkUse when integrating AI agents, tool calling, embeddings, structured output, or streaming in Laravel 13 via the `laravel/ai` package./laravel-apiUse when creating API endpoints, transforming responses with API Resources, or handling API authentication, rate limiting, or versioning.npx claudepluginhub fusengine/claude-plugins --plugin fuse-laravelOther plugins' skills for the same job