---
title: "Comment by Paul Hartness on \"Why Stripe sends your webhook twice (and how to process it once)\" | Hashnode"
description: "Good write-up. One duplicate I'd add to the test list is invoice.payment_failed. If the handler emails the customer directly, a redelivered event emails them tw"
url: "https://hashnode.com/posts/why-stripe-sends-your-webhook-twice-and-how-to-process-it-once/6b02f840c2d0f1c4f7c6be30/comment/6b0493284d92309afae2d1e6"
---

[Discussion](https://hashnode.com/posts/why-stripe-sends-your-webhook-twice-and-how-to-process-it-once/6b02f840c2d0f1c4f7c6be30)

Comment [Why Stripe sends your webhook twice (and how to process it once)](https://hashnode.com/posts/why-stripe-sends-your-webhook-twice-and-how-to-process-it-once/6b02f840c2d0f1c4f7c6be30)

[Paul Hartness](https://hashnode.com/@retryfix)

[1d ago](https://hashnode.com/posts/why-stripe-sends-your-webhook-twice-and-how-to-process-it-once/6b02f840c2d0f1c4f7c6be30/comment/6b0493284d92309afae2d1e6)

Good write-up. One duplicate I'd add to the test list is invoice.payment\_failed. If the handler emails the customer directly, a redelivered event emails them twice about the same card. Keying the send on the invoice id plus attempt\_count is a simple way to stop that.
