stripe-webhook-laravel

Handle Stripe webhook events in Laravel with idempotency and subscription lifecycle management.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill stripe-webhook-laravel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-webhook-laravel
Source: https://github.com/ai-enhanced-engineer/aiee-skills/tree/main/skills/stripe-webhook-laravel
Command: npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill stripe-webhook-laravel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires laravel, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust solution for handling Stripe webhooks in Laravel, ensuring atomic idempotency, managing permanent vs. transient failures, and handling the 5-event subscription lifecycle.

Core Features & Use Cases

  • Atomic Idempotency: Ensures that each webhook event is processed only once, even if received multiple times.
  • Failure Partitioning: Differentiates between permanent and transient failures, optimizing retry logic.
  • 5-Event Subscription Lifecycle: Manages the entire lifecycle of Stripe subscription events, including creation, updates, deletions, and payment successes/failures.
  • Use Case: Implementing Stripe billing webhooks, managing subscription tiers, and ensuring idempotent event processing.

Quick Start

Set up the Stripe webhook handler using this Skill to manage subscription events in your Laravel application.

Frequently Asked Questions about stripe-webhook-laravel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle Stripe webhooks in Laravel to prevent duplicate subscription events?

To handle Stripe webhooks in Laravel without duplicate processing, you need atomic idempotency. This approach ensures each webhook event is processed only once, even when Stripe sends the same event multiple times due to retries or network issues.

What is the 5-event subscription lifecycle for Stripe billing in Laravel?

The 5-event subscription lifecycle for Stripe billing covers creation, updates, deletions, and payment successes or failures. Managing this full lifecycle in Laravel ensures your application accurately tracks all subscription state transitions and billing outcomes.

Why does my Stripe webhook integration keep failing on transient errors?

Stripe webhook integration fails on transient errors when retry logic is not partitioned. Differentiating between permanent and transient failures allows your application to retry only transient issues, preventing permanent failures from blocking the webhook queue.

Can I use this Stripe webhook handler for a SaaS application built on Laravel?

Yes, you can use this Stripe webhook handler for SaaS applications built on Laravel. It is specifically designed for Laravel-based e-commerce platforms and subscription services, providing signature verification and idempotent subscription management.

What's the best way to verify Stripe webhook signatures in a Laravel application?

The best way to verify Stripe webhook signatures in a Laravel application is to route payloads through a dedicated handler that validates the signature before processing. This ensures only authentic Stripe events trigger your subscription lifecycle logic.