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
SOLVED hasActiveMembership variable not being created on Firebase