#RobJonesWeb
1 messages · Page 1 of 1 (latest)
Hi 👋
What are you testing?
So I am trying to trigger a payment intent succeeded event from my laravel application
I am using this package to setup a webhooks route within laravel but when triggering an event using stripe cli it returns a 419 for me - https://github.com/spatie/laravel-stripe-webhooks
Are you using the CLI to forward the event to your listener code?
yes so I am listening on this route
stripe listen --forward-to localhost.test/stripe/payment_intent.succeeded/<SECRET_KEY>
just because my webhook route is setup like this - Route::stripeWebhooks('stripe/payment_intent.succeeded/{secret_key}');
stripe listen --forward-to localhost.test/stripe/payment_intent.succeeded/<SECRET_KEY> <- You should never need to embed you key here. I don't know why you are but we definitely don't recommend it
would you be able to check if the trigger is working on stripes side please
I am wondering if stripe is working as intended and its my application that has irregularities
ok no worries, thank you for the advice, ill review my application
Honestly I think your best bet here would be to get a local version of our webhook listener in PHP up and running
We have an example here: https://stripe.com/docs/webhooks/quickstart