Getting current plan billing cycle date for teams
I know that you can do $team->sparkPlan() to get a teams current subscribed plan information.
What I am trying to retrieve is the date of the month that the team is billed on.
So the team's billing cycle.
So for example if they subscribe on 1st January then I believe they should be billed on the 1st of every following month.
How can I get access to the teams billing date so I can see they will be billed on the 1st of each month for example?
I thought about just finding their subscription in the team_subscriptions table and returning the created_at date of the month but not sure if this is this best way.
Thanks
Please or to participate in this conversation.