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
11
11
## Key features
12
12
13
13
- 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
15
15
16
16
## Environment variables
17
17
@@ -83,6 +83,7 @@ export async function POST(request: Request) {
83
83
// app/webhooks.stripe.ts
84
84
import { type ActionFunctionArgs , json } from " @remix-run/node" ;
85
85
import type { stripeCheckoutCompleted } from " src/trigger/stripe-webhook" ;
86
+ // 👆 **type-only** import
86
87
import { tasks } from " @trigger.dev/sdk/v3" ;
87
88
import Stripe from " stripe" ;
88
89
You can’t perform that action at this time.
0 commit comments