File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
8484import { type ActionFunctionArgs , json } from " @remix-run/node" ;
8585import type { stripeCheckoutCompleted } from " src/trigger/stripe-webhook" ;
86+ // 👆 **type-only** import
8687import { tasks } from " @trigger.dev/sdk/v3" ;
8788import Stripe from " stripe" ;
8889
You can’t perform that action at this time.
0 commit comments