This example demonstrates how to handle Stripe webhook events using Trigger.dev.
checkout.session.completed event is received. This is easily customisable to handle other Stripe events.
checkout.session.completed event is receivedSTRIPE_WEBHOOK_SECRET The secret key used to verify the Stripe webhook signature.TRIGGER_API_URL Your Trigger.dev API url: https://api.trigger.devTRIGGER_SECRET_KEY Your Trigger.dev secret keycheckout.session.completed event is received from Stripe.
STRIPE_WEBHOOK_SECRET that you can use for testing.checkout.session.completed event type. With the Stripe CLI: stripe trigger checkout.session.completed200.stripe-webhook task.