KamoCRM

COMP order approval auto-provisions AccountSubscription and assigns license

Featurekamo-shared-library
Shipped
29 ஏப்ரல், 2026 அன்று 8:00 PM UTC
Author
Kamo
Commit
5bbd9ea

- SubscriptionOrder: add targetOrganization (nullable FK to orgs) - **************** add targetOrganizationId string - AccountRepository: add findByPrimaryMember_Id for account lookup by holder member - SubscriptionService: inject billing repos; provisionCompSubscription creates/upserts **************** SubscriptionMember, and ACTIVE AccountLicense for the target-org member; approveOrder calls it for COMP payment method; new activateCompOrder for retroactive provisioning of existing APPROVED COMP orders

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing