SOLVED hasActiveMembership variable not being created on Firebase
I'm still developing locally and the payments go through Stripe smoothly, but the hasActiveMembership variable is nowhere to be seen inside Firebase Database. Inside the userSubscription hook, where Sonny sets setHasActiveMembership(data.hasActiveMembership), data.hasActiveMembership is undefined, because there isn't a hasActiveMembership to be found in data snapshot. Can someone help me with this, please? My code if needed is here.
6
50 comments
Caio Portella
2
SOLVED hasActiveMembership variable not being created on Firebase
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
powered by