You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works ok, but for some reason when adding more tickets in the future, it doesn't get added correctly. Or at least loadedTicketFeatures is returning an array of tickets that doesn't contain the newest added tickets.
Not really sure how to explain this.
I want a fully prepaid system where there's no subscribing, simply tickets that can expire.
I tried modifying a few things but got stuck. The first problem was:
laravel-soulbscription/src/Models/Concerns/HasSubscriptions.php
Line 287 in 6cf16a5
Here it assumes you have a subscription.
I tried adding this:
also added
->where('expired_at', '>', now())
to:laravel-soulbscription/src/Models/Concerns/HasSubscriptions.php
Line 341 in 6cf16a5
This works ok, but for some reason when adding more tickets in the future, it doesn't get added correctly. Or at least loadedTicketFeatures is returning an array of tickets that doesn't contain the newest added tickets.
The test case I was using:
The text was updated successfully, but these errors were encountered: