Skip to main content

Pricing

Pricing groups one or more Plans, so users can choose a plan when signing up for an application at different price points.

Pricing Flow

Pricing properties​

PropertyDescription
OrganizationOwning organization.
NamePricing identifier.
CreatedTimeCreation time.
DisplayNameDisplay name.
DescriptionOptional description.
PlansList of plans in this pricing.
IsEnabledWhether the pricing is active.
ApplicationApplication this pricing applies to.
Is invite onlyLimits the pricing to invited users. Off by default.
Invited usersUsers of the pricing's organization who may use an invite-only pricing. Shown only when Is invite only is on.

Pricing Edit

Invite-only pricing​

Turn on Is invite only to offer a pricing to some users only, for example a discounted plan for a partner. Casdoor then decides who may use the pricing:

Invited usersWho may use the pricing
EmptyEvery user of the pricing's organization
One or more usersOnly the listed users

Users of other organizations and visitors who haven't signed in may never use an invite-only pricing. For everyone who may not use it:

  • GET /api/get-pricing returns the error The pricing: <pricing-name> is invite-only, only invited users can use it. Global administrators and organization administrators can always read the pricing.
  • Placing an order with a plan of the pricing fails.
  • When a paid user without an active subscription signs in, Casdoor offers the first enabled pricing of the application that the user may use, and skips the others.
  • A sign-up link with the pricing and plan parameters never accepts an invite-only pricing, because the new user doesn't exist yet.

A pricing with Is invite only off is open to everyone.

See also​