1 article tagged Authentication
October 13, 2026
Handle checkout.session.completed in your Stripe webhook: pass userId metadata, retrieve the subscription, and upsert Prisma rows so paid users get access immediately.