From Dev.to
How I Make Stripe Webhooks Idempotent in ASP.NET Core
A payment webhook can arrive twice even when nothing is wrong with my application. The uncomfortable case is when the second delivery arrives while the first one is still running. If both requests che...