Hello everybody I have a problem with Laravel Cashier. Here's what I've done
My Problem: When i write the Code like this in the documentation
$user = Auth::id(); $user->newSubscription('main', 'monthly')->create($creditCardToken);
But with this code became a failre Call to a member function newSubscription() on integer
I can change the variable creditCardToken with the _token, but its not work. What i make false?
I hope you can Help my
Best regards Christoph