#bwestwood_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252742996705673287
đ Have more to share? Add details, code, screenshots, videos, etc. below.
okay thanks
Did something about the webhook endpoint URL change?
webhook endpoint has been the same
You're right, it looks like Stripe is trying to deliver events to this URL but this URL is replying with a 307/redirect
Correct, that URL
I am using Next.js and haven;t touched the code at all
like I said it has been working but its not now
That error rate shows we've never successfully delivered a checkout.session.completed event to this endpoint
What was working?
the webhook being delivered to the endpoint and giving me 200 status for that evt
Are you able to review any network logs on your end to see the requests made by Stripe to this URL?
would I be able to test that endpoint with the Stripe secret key in test mode?
no, I wasn't able to because verrcel on free plan only lets me view back 1 hour
it happened hours ago
I see
You can try to use the Dashboard to trigger a resend of that event then inspect the logs on your end
okay I am and i dont see the logs
but i think this might be the problem
i did update the sitemap i think
and it uses www.
and this is this page
there is no www.
can not having a www. cause this redirect
?
the resend of the event doesn't show in the vercel logs at all
I'm not sure. All I know is we're trying to hit https://competitiveedgedumpsters.com/api/webhook and this is replying with a redirect
You can edit the endpoint URL in the Dashboard and see if that fixes the issue
I am getting this in the dashboard after updating URL
I think that was the issue, but there would be no way to get that information from the checkout session completed from earlier?
You can trigger a manual resend of those failed events
Click into each of the events where deliver failed and click on the "resend" button on the right
Okay, anything you can see on the Vercel side?
yea failed prisma inovaction
invocation
which is my ORM
but I guess even if i resend the evt, I cant get the form data values from earlier that he put in on my custom form before paying
If those values were on a form outside of/separate from Checkout then that's correct, there's no way to get those back from these events
Okay yea I think everything is good now. Thank you for your help and time!