After install, run ./ngrok http http://localhost:3000 to expose your local webhook to Stripe.
Now Stripe will be able to call your local /webhook.
Create a product
In your Stripe dashboard, Click [More +] -> [Product Catalog] -> [+ Add Product]. Set a name and a monthly price (or anything according to your business model). Then click [Save Product].
When you create a product in Stripe dashboard, it will be automatically added in supabase table products.
Collect payment
Open http://localhost:3000/ in your browser, log-in and click the button ShipFastCheap to make a payment with the credit card number 4242 4242 4242 4242.
After install, run ./ngrok http http://localhost:3000 to expose your local webhook to Stripe.
Now Stripe will be able to call your local /webhook.
Create a product
In your Stripe dashboard, Click [More +] -> [Product Catalog] -> [+ Add Product]. Set a name and a monthly price (or anything according to your business model). Then click [Save Product].
When you create a product in Stripe dashboard, it will be automatically added in supabase table products.
Collect payment
Open http://localhost:3000/ in your browser, log-in and click the button ShipFastCheap to make a payment with the credit card number 4242 4242 4242 4242.