diff --git a/docs/plugins/stripe.mdx b/docs/plugins/stripe.mdx index a7c9347620..12f2b6fcb1 100644 --- a/docs/plugins/stripe.mdx +++ b/docs/plugins/stripe.mdx @@ -114,7 +114,7 @@ const res = await fetch(`/api/stripe/rest`, { Development: 1. Login using Stripe cli `stripe login` -1. Forward events to localhost `stripe listen --forward-to localhost:3000/stripe/webhooks` +1. Forward events to localhost `stripe listen --forward-to localhost:3000/api/stripe/webhooks` 1. Paste the given secret into your `.env` file as `STRIPE_WEBHOOKS_ENDPOINT_SECRET` Production: