---
title: "Comment by Paul Hartness on \"Stripe Webhooks in Spring Boot: Signatures, Idempotency, Out-of-Order Events\" | Hashnode"
description: "Good call putting invoice.paid before subscription.created in a runnable test. It's an easy one to drop without noticing. The failed side has a similar trap: in"
url: "https://hashnode.com/posts/stripe-webhooks-spring-boot-signatures-idempotency/6affba79ec089934c2a3b8f8/comment/6b00012c23ba5fea5dcd4d4b"
---

[Discussion](https://hashnode.com/posts/stripe-webhooks-spring-boot-signatures-idempotency/6affba79ec089934c2a3b8f8)

Comment [Stripe Webhooks in Spring Boot: Signatures, Idempotency, Out-of-Order Events](https://hashnode.com/posts/stripe-webhooks-spring-boot-signatures-idempotency/6affba79ec089934c2a3b8f8)

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

[Nov 20](https://hashnode.com/posts/stripe-webhooks-spring-boot-signatures-idempotency/6affba79ec089934c2a3b8f8/comment/6b00012c23ba5fea5dcd4d4b)

Good call putting invoice.paid before subscription.created in a runnable test. It's an easy one to drop without noticing. The failed side has a similar trap: invoice.payment\_failed puts the subscription in past\_due, and when retries run out Stripe applies whatever ending is set under Retries, so the access check has to follow that too. I wrote up how that ending ends up counted as churn here: [retryfix.com/blog/what-is-involuntary-churn](https://retryfix.com/blog/what-is-involuntary-churn)
