You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
enterprise-api: signup activation preserves free-signup tier instead of the paid tier (SUSE incident) #92
ActivateSignupOrg (first-activation webhook path) preserved tier + key_limit from the free-signup row instead of writing the tier the buyer actually paid. A free-signup org that pays a checkout for a different tier ends up with signup-tier entitlements at the paid tier's price.
provisionAndWelcomeOrg receives the paid tier but only used it for the welcome email.
The SEPA settle path (onInvoicePaymentSucceeded -> provisionAndWelcomeOrg(..., org.Tier, ...)) had the same flaw.
Fix
ActivateSignupOrg writes tier + key_limit; callers derive the paid tier from the checkout session metadata (card path) or the settled invoice's price metadata (tierFromInvoice, SEPA settle path), falling back to the org's existing values when absent.
Branch: fix/signup-activation-tier-reconciliation (enterprise-api), VERSION 0.4.89.
Activity