01 · Production truth
Webhooks arrive late. The product still has to be right.
Billing state cannot be whichever webhook arrived most recently. OneStepSmarter re-reads current Stripe truth before applying events that could regress a paid invoice or overwrite a newer subscription state.
The same hardening stopped an open, unattempted renewal invoice from being treated as a payment failure and prevented a completed learner checkout from being superseded by a newer checkout.