Skip to content

subscription required after account created #1463

@riderx

Description

@riderx

Describe the bug/issue
When a user creates a new organization, they immediately see "subscription required" instead of their trial. This happens because:

Org creation inserts into orgs table (synchronous)
Trigger queues on_organization_create job to pgmq (async)
Frontend fetches orgs via get_orgs_v7() - but stripe_info doesn't exist yet
Since stripe_info is missing, trial_left = 0 and user sees "subscription required"
~10-60 seconds later, queue processes and creates stripe_info with trial

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Inbox

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions