Basically I have this problem which keeps occuring.
Once a user subscribes, it all works fine. He can cancel/change subscription no problem.
However, once they have changed their subscription once, I cant call swap or cancel without it throwing an error on null
Call to a member function cancelNow() on null Call to a member function Swap() on null
Both mean that $user->subscription($membership_group) = null. ($user isnt null and neither is $membership_group)
What could be causing this?
I've also noticed that swap is only changing the plan in the DB not the name (Subscriptions DB)
Thank you!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community