Monetizing TeaQL in Public — Day 4: Renewals, Retries, and Out-of-Order Webhooks
A successful first checkout is only the start of a subscription. The next payment has a different transaction ID, arrives without a new user checkout, and may be delivered more than once. An older event can arrive after a newer one.
On Day 3, we connected the shared console to IAM and Billing. Today we add a backend slice: renewing an existing Organization subscription without duplicating access or trusting an Organization ID supplied by the payment payload.
This is local fixture verification, not a real Paddle Sandbox run. Tests use synthetic accounts, signed local HTTP requests, actual TeaQL/SQLite persistence, and a simulated clock. Real Paddle checkout, HTTPS webhook delivery, and payment collection remain unverified. No money was collected.
