Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

7-13 Testing our Webhook Handler

In this lesson, we use the Stripe CLI to test our webhook handler.

First, we link the Stripe CLI to our Stripe account. Next, we forward all webhook events to our locally running Nuxt server.

From there, we can use the CLI to trigger mock events, just to make sure that our webhook handler is hooked up as we expect.

Stripe CLI: https://stripe.com/docs/stripe-cli