FeatureType
Represents the type of a Feature.Values
PackageStatus
Represents the status of a Package.Values
ResetPeriod
Represents theperiod in which the usage of a Feature resets.Does this impact when someone is billed?No - when someone is billed for a feature/package is decided by the price of the package/features which they they subscribed to. You would have defined the
billingPeriod in the BillingTemplate when creating (or editing) the package.Values
SubscriptionStatus
Represents the status of a PackageSubscription. When a subscription has been imported in or synced from Stripe, this will mirror thestatus of the subscription from there. You can see more on Stripe’s definitions here.
Values
What status does a subscription need to have in order for a user to have access to the features within the subscribed package?Users will only have access to features in packages related to subscriptions which are ACTIVE or TRIALING. They will not be entitled to access the features otherwise.
Does CANCELLED mean that the user is not subscribed to the package in the PackageSubscription?Not necessarily - it only means that this particular PackageSubscription is no longer valid. A user may have since subscribed to the same package again, although we will record this with a separate PackageSubscription.You should look through all of a user’s subscriptions via the subscriptions query, and identify the packages they have an ACTIVE SubscriptionStatus for.