5. Create stripe products
- With the dev server running, go to the stripe developers -> webhooks section.
- Run a service like ngrok to expose your localhost to the internet. Grab the URL.
- Create a webhook endpoint and set the url to your ngrok url. (e.g.
https://12345678.ngrok.io/api/stripe/webhooks
). Select all events.
Make sure that ` All events ` are forwared to our webhook listener. (Select the checkbox suggesting to select all events).
Start creating products
Now create a couple of Products in Stripe. Our database will automatically stay in sync with Stripe and create the necessary rows in the database.