#kavehh
1 messages · Page 1 of 1 (latest)
You should deploy your code to and get a public URL to set it in the Dashboard
It's just a URL directly. Public URL here means a public domain such as https://www.example.com/webhook
It depends on how you set up the webhook route
I don't know how your server configures the webhook endpoint in your server
Have you tried to send an event to your webhook endpoint locally before?
it was funky trying to get the stripe cli
i ended up in powershell
to be able to use it
so I was hoping to just skip the local tests
if it has worked before, then the endpoint should be the same when configuring it in Dashboard
for example, http://localhost:3000/webhook will be https://www.example.com/webhook
it just differs in the domain
gotcha yeah, but how do i know what to put after the .com
is it the route to my route.ts in my directory?
i had already made it once
with this route
this is the event i need
Webhook secret at local and the one configured on the Webhook endpoint are different. Did you update the webhook secret in your code?
Yes! This is the one
I did have it as that; let me try hard coding it in
would it tell me it works once i actually make a purchase?
i hard coded it in
and pressed resend
it still didnt work
let me try spending a dollar
it worked
woohoo
Yay! Great to hear that it works!
thank you!
No problem! Happy to help 😄