Level 24
Just had the same error, a couple of minutes ago...
make sure that in your User model, you import the Spark\Billable trait.
By default my IDE imported the Laravel\Paddle\Billable trait instead.
Hope it fixes it, for you ;)
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Laravel gives the error "Call the undefined method App\Models\User::sparkConfiguration()"
I followed the tutorial.
The solution says "Did you mean App\Models\User::setConnection()"
What have I missed or what should I do?
Please or to participate in this conversation.