Attribute [stripeWebhooks] does not exist. #124
Replies: 3 comments 7 replies
-
Any luck with this issue? I am facing the same problem. |
Beta Was this translation helpful? Give feedback.
-
I'm also having this issue. All was fine in my local environment. Now I have the site on my dev server for testing I am getting the 'Attribute [stripeWebhooks] does not exist]'. I can't for the life of me figure out how to fix it |
Beta Was this translation helpful? Give feedback.
-
@RobertWatkin Did you resolve this issue? I pushed my site live this morning and the whole site broke, same issue as you're having. Everything works great in local dev mode using Stripe CLI, but pushing to my Forge server I get a can't-deploy error and this in the logs:
Did you resolve this or find the issue? I don't have the option of changing everything to Cashier. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm following the installation guide as per documentation.
I'm arrived here: Finally, take care of the routing: At the Stripe dashboard you must configure at what url Stripe webhooks should hit your app. In the routes file of your app you must pass that route to Route::stripeWebhooks:
I've so added the provided code to my BaseController that handles Route creation.
Unfortunately, the app starts to respond with
Attribute [stripeWebhooks] does not exist.
for every request, php artisan included.In my IDE (VSCode) I can see that a method named stripeWebhooks exists in
Illuminate\Support\Facades\Route::stripeWebhooks
Is this an issue or a misconfiguration of some sort?
Beta Was this translation helpful? Give feedback.
All reactions