vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.77k stars 1.18k forks source link

Webhook for production mode #350

Open Vette1123 opened 2 weeks ago

Vette1123 commented 2 weeks ago

so for locally development, i ran stripe:listen in order to updare the products, prices, etc..

what about production?, how to run the stripe:listen on vercel to be always listening for updates to insert them into my DB?

dikaio commented 2 weeks ago

@Vette1123 I think what you are wanting to do is register your endpoint which would be the platform you're hosting your site on e.g. Vercel. You can learn about that on Stripes section on webhooks.