Purchase Lifecycle
internalCheckout-to-webhook-to-entitlement troubleshooting and reconciliation.
Lifecycle checkpoints
- checkout session created
- provider webhook received
- webhook processed successfully
- purchase/subscription state updated
- entitlement projection updated
Troubleshooting quick map
- Checkout exists, no webhook event:
- validate endpoint URL/secret and provider delivery logs
- Webhook exists, not processed:
- inspect processing metadata and replay intent flow
- Purchase updated, entitlement stale:
- run status sync and validate plan/variant mapping
Data tables
billing_checkoutsbilling_webhook_eventsbilling_purchasesbilling_subscription_snapshotsbilling_entitlementsbilling_customer_bindings
Detailed operations copy: docs/runbooks/purchase-lifecycle.md