We had a bug that only fired sometimes, and "sometimes" turned out to be a coin flip on webhook arrival order. Here's the setup. Our billing code had two constants.
Source: [Dev.to](https://dev.to/johnbuilds/the-same-failed-payment-destroyed-one-customers-data-and-left-the-next-ones-alone-pek)