Skip to content

Commit

Permalink
App\Http\Controllers\WebhookController is meant to be used via __invo…
Browse files Browse the repository at this point in the history
…ke (laravel#6251)
  • Loading branch information
GrahamCampbell authored Aug 17, 2020
1 parent 64aff0c commit 91a1fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashier-paddle.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ Next, define a route to your Cashier controller within your `routes/web.php` fil

Route::post(
'paddle/webhook',
'\App\Http\Controllers\WebhookController@handleWebhook'
'\App\Http\Controllers\WebhookController'
);

Cashier emits a `Laravel\Paddle\Events\WebhookReceived` event when a webhook is received, and a `Laravel\Paddle\Events\WebhookHandled` event when a webhook was handled. Both events contain the full payload of the Paddle webhook.
Expand Down

0 comments on commit 91a1fbf

Please sign in to comment.