diff --git a/examples/monetization-with-stripe/README.md b/examples/monetization-with-stripe/README.md index ec8496017..e588365dc 100644 --- a/examples/monetization-with-stripe/README.md +++ b/examples/monetization-with-stripe/README.md @@ -20,7 +20,9 @@ This app has a paywall for a payed feature. To enable the payed feature, users n 2. Create a [payment link](https://dashboard.stripe.com/test/payment-links) 3. Update the link in the [PaywallNotice component](./components/PaywallNotice.tsx) 4. Add your [API keys](https://dashboard.stripe.com/apikeys) to the [.env file](.env) -5. For development, in your terminal: +5. [Create a webhook endpoint](https://dashboard.stripe.com/test/webhooks/create?endpoint_location=local) in Stripe (_test in a local environment_) and download the Stripe CLI tool: + 1. `Brew install stripe/stripe-cli/stripe` +6. For development, in your terminal: 1. `stripe login` 2. `stripe listen --forward-to localhost:3000/api/payment-handler` 3. Copy the webhook signing secret from console output