vercel / nextjs-subscription-payments

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

Small improvement to the Readme to avoid confusion #143

Closed JPVRS closed 1 year ago

JPVRS commented 1 year ago

In the portion about creating and testing webhooks in Stripe, the reader is instructed to use their deployment URL as the endpoint. The URL listed under "deployment" in the Vercel dashboard doesn't work for this, which is a bit confusing. You have to use one of the URLs listed under "domains" instead. This is only confusing due to the fact that there's a URL in the Vercel dashboard that's explicitly labeled "deployment."

Additionally, the instructions to use the "Send test webhook" button in the Stripe dashboard can't be followed. That button doesn't currently exist in their UI. I was informed by someone on their support team that it's been temporarily removed due to technical issues. The only way to send a test webhook is through the CLI, which you can install locally or use online here:

https://stripe.com/docs/stripe-cli

The command is stripe trigger product.created

Clarification on these two points could help people avoid losing time on these steps. The instructions are great overall!

thorwebdev commented 1 year ago

Thanks for the feedback. I've removed the lines in question. Feel free to open a PR with further improvements :)