5. Create stripe products

  1. 1.
    With the dev server running, go to the stripe developers -> webhooks section .
  2. 2.
    Select the Test in a local environment tab.
  3. 3.
    Follow the instructions and set http://localhost:3000/api/stripe/webhooks as your listen url.
This will help us sync the Stripe products, prices and customers to Supabase when we are first setting up our Stripe account. Once deployed, our deployed urls will be able to handle this without us manually starting the Stripe webhooks listener.
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.
Arni Creative Private Limited @2023