I haven't used spark but I think Taylor talks about the stuff you mention in this series. Have you watched it?
How to get user subscription information in Spark
Sorry if this question has been asked before. I'm new to laravel & spark and I'm trying to figure out how I can get the user subscription information in my blade templates?
To elaborate, I have certain options that only appear on the page if the user is subscribed to a specific plan (I.E. User will have more features in the menu if they are on the pro plan). How can I pull the ends_at and strip_plan values for the logged in user?
If you have the Vue plugin for Chrome, you can look at the the objects. The spark user object cantains everything. You can do something like
Auth::user()->current_billing_plan or Auth::user()->card_brand etc. The info is all there for you.
Please or to participate in this conversation.