You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to extend the WebhookController of the laravel/cashier package and listen to some events that were not included in the default events. But when I tried to test a webhook call from the Stripe Dashboard it returns the error below:
<b>Fatal error</b>: Trait 'Illuminate\Foundation\Events\Dispatchable' not found in <b>/var/www/html/vendor/laravel/cashier/src/Events/WebhookReceived.php</b> on line <b>8</b><br />
<!-- Trait 'Illuminate\Foundation\Events\Dispatchable' not found (500 Internal Server Error) -->
It seems it's looking for the Dispatchable trait.
Here's the version of the package and lumen framework I used:
Lumen Framework - 8.0
Laravel Cashier - 12.4
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm trying to extend the WebhookController of the laravel/cashier package and listen to some events that were not included in the default events. But when I tried to test a webhook call from the Stripe Dashboard it returns the error below:
It seems it's looking for the
Dispatchable
trait.Here's the version of the package and lumen framework I used:
Lumen Framework - 8.0
Laravel Cashier - 12.4
Beta Was this translation helpful? Give feedback.
All reactions