Session Status onlineAccount your_account_nameVersion x.x.xRegion United States (us)Forwarding http://xxxx-xx-xxx-xxx-xx.ngrok.io -> localhost:3000Forwarding https://xxxx-xx-xxx-xxx-xx.ngrok.io -> localhost:3000
Log in to your Stripe Dashboard.
Navigate to Developers > Webhooks.
Click Add endpoint.
In the Endpoint URL field, paste your ngrok HTTPS URL and add your webhook route.
For example: https://xxxx-xx-xxx-xxx-xx.ngrok.io/api/webhook
Select the events you want to listen for - we just need to listen to checkout success events.
Click Add endpoint.
After creating the webhook:Click on the newly created webhook in your Stripe Dashboard.
Look for Signing secret and click Reveal.
Copy this secret. You’ll need it to verify webhook signatures.
Remember everytime you want to test locally you will need to have ngrok running. This will likely give you a new tunnel URL which you will have to update in the stripe dashboard.When you deploy your app you can update the webhook endpoint to your production url /api/webhook