Implement billing without multi tenancy

Hello, Is there a way to implement billing for my users. I want every user to subscribe to a package who registrates for the app. I have a spark licence already. The problem I can not find a tutorial on the internet about this topic. The filament docs only explain it for multi tenancy. Any help is appreciated
6 Replies
krekas
krekas4mo ago
don't use the tenancy part from the docs. shouldn't be hard
TheNastyPasty
TheNastyPasty4mo ago
I get the following exception
Call to undefined method App\Models\User::subscription()
Call to undefined method App\Models\User::subscription()
krekas
krekas4mo ago
there's no such method on the user model. I would guess it should come from spark
TheNastyPasty
TheNastyPasty4mo ago
Yeah but the question is, is it possible to set it up like that or do I have to go another way? Can't find any tutorial of how to implement user subscription model for every user on registration with spark. Maybe you have a tutorial or could guide me with an example code?
krekas
krekas4mo ago
i think sparks docs should be plenty
Want results from more Discord servers?
Add your server
More Posts