-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$user->subscriptionUsage()->record('tempore'); fails #40
Comments
Hi Georde, Feature codes are stored in the config file I think the documentation is missing the features set up; will have to check. |
But does not it make sense to have registered features in the config if I have dynamic features, I mean that all the features that I register in the database I have to have in this configuration file too? |
You must configure your site features before using them. As I have mentioned in my previous comment, all features are defined in the Laraplans does not support dynamic features (i.e., loading them from the database). Any feature used by the site/package must be defined first in the config file. |
ok thanks |
Invalid plan feature: tempore
tempore exist in database
Don't pass in Feature.php
lines:
41. if (!self::isValid($feature_code)) {
42 throw new InvalidPlanFeatureException($feature_code);
43 }
Laravel 5.6
The text was updated successfully, but these errors were encountered: