If both webhooks are being called then you must have two webhooks registered with Stripe.
Lary's answer is total misleading rubbish and I reported it as unhelpful.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have two webhooks every one has his controller and route but when I use one they call both on give me 200 and the other 500
every container have function handleCheckoutSessionCompleted
this work find but i don't like call both every time
https://0917-62-91-87-173.ngrok-free.app/de/webhooks/stripe
https://0917-62-91-87-173.ngrok-free.app/de/extensions/stripe
routes
Route::post('/rentals/purchase/{plan}', RentalCheckoutController::class)->name('rentals.checkout')->middleware('auth');
Route::get('/rentals/purchase/success', RentalCheckoutSuccessController::class)->name('rentals.success')->middleware('auth');
Route::post('/webhooks/stripe',StripeWebhookController::class);
--------------------------------
Route::post('/rentals/purchase/extension/{rental}', RentalExtensionCheckoutController::class)->name('rentals.extension.checkout')->middleware('auth');
Route::get('/rentals/purchase/extension/success', RentalExtensionSuccessController::class)->name('rentals.extension.success')->middleware('auth');
Route::post('/extensions/stripe',StripeWebhookExtensionController::class);
thank you
Please or to participate in this conversation.