header('Stripe-Signature'); $event = \Stripe\Webhook::constructEvent( $request->getContent(), $signature, $webhookSecret ); StripeProcessJob::dispatch($event); return response('Webhook received. Cool cool cool cool cool.', 200); } catch (Exception $e) { return response($e->getMessage(), 400); } } }