Skip to content

Commit 0b2b961

Browse files
committed
Final tweaks
1 parent f5d3429 commit 0b2b961

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/examples/stripe-webhook.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This example shows how to set up a webhook handler for incoming Stripe events. T
1111
## Key features
1212

1313
- Shows how to create a Stripe webhook handler
14-
- Triggers a task when a `checkout.session.completed` event is received
14+
- Triggers a task from your backend when a `checkout.session.completed` event is received
1515

1616
## Environment variables
1717

@@ -83,6 +83,7 @@ export async function POST(request: Request) {
8383
// app/webhooks.stripe.ts
8484
import { type ActionFunctionArgs, json } from "@remix-run/node";
8585
import type { stripeCheckoutCompleted } from "src/trigger/stripe-webhook";
86+
// 👆 **type-only** import
8687
import { tasks } from "@trigger.dev/sdk/v3";
8788
import Stripe from "stripe";
8889

0 commit comments

Comments
 (0)