#magic-explorer_webhooks
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1290877029947936780
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Perhaps what would be convenient is like a "Recreate product" button to avoid needing to do this manually.
Here's the video tutorial I was following, timestamp starts at relevant part: https://youtu.be/Gbf-E3H824k?si=HnDV4NRXBzQ4hiJ6&t=369
The Next.js App Router, Supabase and Stripe are a powerful combination for building a SaaS product. In this video, Jon Meyers configures a Local Development environment, keeping new features isolated from production.
https://www.youtube.com/playlist?list=PL5S4mPUpp4OuvM1yo9M8Ijs32_kSMGqvp
Next.js is one of the most popular modern web framework...
Hmm we are not owning the video so can't say or comment about its content. But we can help in general Stripe API points of view
If you are using Test mode vs Live mode, then the Products and Prices should be separated over those 2 modes
a Live mode Product is different than a Test mode Product
Is there a way to simulate a product webhook event, so that it sends product.deleted and then product.created with the same information? (recreate product)
At the moment, I'm still using Stripe test mode for both localhost version and website version.
Hmm creating Product on Test mode via API?
So I would like to clarify, is there no easy way to resync products across localhost version and website version?
This is since only localhost version was running first, and products were created, so only localhost database got the webhook events. This means in website version, the products are empty since it never received the webhooks when products were created.
Well anyway, I think the solution can just be to copy the products table from localhost db, and put them into the website db. I suppose it's just a flaw of the vercel starter template not able to resync products without recreating the products? (https://github.com/vercel/nextjs-subscription-payments)