stripe-webhook-testing

Forward Stripe webhook events to a local development server.

77|10|Updated Feb 1, 2025
One-click install
npx skills add https://github.com/ahtavarasmus/lightfriend --skill stripe-webhook-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-webhook-testing
Source: https://github.com/ahtavarasmus/lightfriend/tree/main/.claude/skills/stripe-webhook-testing
Command: npx skills add https://github.com/ahtavarasmus/lightfriend --skill stripe-webhook-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you test Stripe webhooks locally by guiding you to forward events from Stripe CLI to your development server, reducing the time to validate webhook handling.

Core Features & Use Cases

  • Local webhook forwarding: Forward Stripe events to your local backend endpoint for end-to-end testing.
  • Event coverage: Test common events like customer.subscription.* and checkout.session.* in a controlled environment.
  • Use Case: Imagine you are implementing a new subscription flow and need to verify webhook handling without deploying to staging.

Quick Start

Start Stripe CLI listening on your webhook endpoint and ensure your backend is ready to receive events on the configured URL.

Frequently Asked Questions about stripe-webhook-testing

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

FAQPage Schema
How do I test Stripe webhooks locally without deploying to staging?

You can test Stripe webhooks locally by using Stripe CLI to forward events to your local backend server, allowing end-to-end validation of subscription and payment intent handling without deploying to staging.

What is Stripe CLI webhook forwarding and how does it work for local development?

Stripe CLI webhook forwarding captures live Stripe events and redirects them to your local backend endpoint, providing a controlled local development environment for testing event handling.

Do I need Stripe CLI installed to forward webhook events to my backend?

Yes, Stripe CLI is required for webhook forwarding. You also need a backend server listening on the webhook endpoint and environment variables configured for Stripe test keys.

Can I test customer subscription and checkout session events with local webhook forwarding?

Yes, local webhook forwarding supports testing common Stripe events such as customer.subscription.* and checkout.session.*, allowing you to verify backend handling in a controlled environment.

What are the limitations of using Stripe CLI for local webhook testing?

Local webhook testing with Stripe CLI requires a continuously running local backend server and proper environment variables for test keys; it does not validate production network conditions or deployment configurations.