Skip to content

Error after Laravel 9 Upgrade #142

Answered by ankitsinghdalal
assadm asked this question in Q&A
Discussion options

You must be logged in to vote

You just need to change the namespace for the webhook routes. For example

Route::group(['prefix' => 'v1/webhook', 'namespace' => '\Spatie\WebhookClient\Http\Controllers'], function () { Route::webhooks('some-route'); });

This way it is working for me. Further you can do php artisan route:list to check if the webhook route is added successfully.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pocketnest-erik
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by freekmurze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #141 on April 14, 2022 20:40.