Laravel Stripe webhooks, how to know the authenticated user so that the job can update user account on successful purchase?
In my Laravel 8 app I’m using Stripe-provided payment links from my Stripe account to provide a purchase widget in my app’s pricing blade and process payment through Stripe’s checkout page. This all works fine, and I can use Spatie’s laravel-stripe-webhooks to catch the webhooks generated and process the payload in the job.