#srbartlett_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/1237614491378913341
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The webhooks will not be queued, they will retry I believe 3 times within an hour, but in your use case it would be ideal to have a queue service to receive them and process them when your application is back online.
thanks! I guess it is better to not disable the webhook and either a) queue in the app, or b) return a non 200 status code, eg 400 so that Stripe will retry (but only for 1 hour) ?
No, if you disable the webhook the retries will be paused
While a webhook endpoint is disabled event delivery and retries that would normally be attempted will cease and will not be sent again, even if the webhook is re-enabled. However, once the webhook endpoint is re-enabled event delivery will resume, including future retry attempts. Consider this example timeline showing how disabling a webhook endpoint won't prevent all future retries:
- Event delivery attempt failed, so retries are scheduled
- Webhook endpoint disabled
- Time to retry, but the webhook endpoint is disabled, so retry is skipped
- Webhook endpoint enabled
- Time to retry again, webhook is enabled, so retry is attempted