New tenants are created with an empty stripe_customer_id in the identity onboarding path
#2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Because billing and invoice ownership flows map Stripe invoice customer -> tenant via stripe_customer_id, this can break billing ownership resolution and produce ambiguous behavior.
Validation SQL Used
Expected Behaviour
Each newly onboarded tenant should have a valid Stripe customer ID (for example cus_...) created at onboarding and persisted in DB.
Actual Behaviour
Tenant is created with empty
stripe_customer_id, making invoice/webhook ownership mapping unreliable.