isActive flag from Stripe not being updated on NexAuth after payment
Unanswered
Philippine Crocodile posted this in #help-forum
Philippine CrocodileOP
Hey hey guys.
I am implementing stripe in my nextjs project.
I am using firebase and nextauth, deployed on vercel.
I am currently using a flag on the session to check if the user is active, the problem is that after the user pays it doesn't update this flag so it returns to the payment page.
What is the best way to do this?
Thank you
I am implementing stripe in my nextjs project.
I am using firebase and nextauth, deployed on vercel.
I am currently using a flag on the session to check if the user is active, the problem is that after the user pays it doesn't update this flag so it returns to the payment page.
What is the best way to do this?
Thank you