Group
  • Payments

    Add Stripe checkout with webhook verification

    Implements a checkout session flow, verifies webhook signatures, and updates order state idempotently on payment events.

    • Ship faster
    • Advanced
    • Cursor
    • General

Free Prompt

Implement a Stripe checkout flow in my app. Create a checkout session endpoint, handle the success and cancel redirects, and add a webhook handler that verifies the Stripe signature and updates order state idempotently on payment events.

What This Does / How This Helps

Builds the full Stripe checkout flow — session creation, success/cancel redirects, and a webhook handler that verifies signatures and updates orders idempotently. That last part is the one most vibe-coded checkouts skip, and it's what stops double-charges, forged events, and orders that never get marked paid.

Want to skip doing this by hand?

Fortivibe audits your app for all of the areas these prompts cover (and more).

See What We Check

Related Prompts