Custom SignaureValidator error: not a valid signature validator class. #124
Replies: 5 comments 9 replies
-
Still didn't found a way around that error, if anybody could help would be great, thanks |
Beta Was this translation helpful? Give feedback.
-
Experiencing a similar problem:
webhook-client.php
Error via Postman: |
Beta Was this translation helpful? Give feedback.
-
Can we tag this as an issue? I don't think at this point we're doing something wrong. |
Beta Was this translation helpful? Give feedback.
-
I resolved mine myself, it was a rather embarrassing omission. My handler was in \App\Http\Handlers namespace, not \App\Handlers. Found by commenting out the is_subclass_of check on line 41 of src\WebhookConfig.php which then threw a "class does not exist" error; decided it had to be something wrong with my namespacing @Mozzarella-dev obviously your issue may be different but I would check; it didn't help that I followed a tutorial that was based on Laravel 7.x and I'm using 9.x which changed how namespaces work |
Beta Was this translation helpful? Give feedback.
-
I had the same issue for a couple of hours today. Tried a bunch of debugging and troubleshooting but .... the issue was neither namespaces, classes, code errors or whatever. It was my file name.... Instead of CustomSignatureValidator.php it was just CustomSignatureValidator . Best part was everything ran as per normal as if it is a PHP file, but just that the extension was not in.. |
Beta Was this translation helpful? Give feedback.
-
I really don't know if it's a bug or i'm missing something here.
This is my validator, its path is
App\Handler\MyValidator.php
:In the webhook-client.php config file i've got:
The full error message is the following:
Beta Was this translation helpful? Give feedback.
All reactions