Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is not a valid process webhook job class #34

Closed
chanar opened this issue Nov 22, 2019 · 2 comments
Closed

is not a valid process webhook job class #34

chanar opened this issue Nov 22, 2019 · 2 comments

Comments

@chanar
Copy link

chanar commented Nov 22, 2019

Spatie\WebhookClient\Exceptions\InvalidConfig: App\Handler\WebhookHandler is not a valid process webhook job class. A valid class should implement Spatie\WebhookClient\ProcessWebhookJob. in file /Users/janarpalk/Projects/forexbook/vendor/spatie/laravel-webhook-client/src/Exceptions/InvalidConfig.php on line 35

Within webhook-client.php:
'process_webhook_job' => App\Handler\WebhookHandler::class,

Within WebhookHandler.php:


namespace App\Handler;

use Spatie\WebhookClient\ProcessWebhookJob;

class WehbhookHandler extends ProcessWebhookJob {
    public function handle() {
        Log::debug('test');
        Log::debug($this->webhookCall);
    }
}

uh?

@chanar chanar closed this as completed Nov 22, 2019
@chanar
Copy link
Author

chanar commented Nov 22, 2019

WehbhookHandler 😀

@ariopangarih
Copy link

Hi, first i appreciate your works for making webhook library. I found the same problem here. It keeps returning error for invalid process webhook job class.
Here the WebhookHandler and ProcessWebhookJob screenshots.

Screen Shot 2022-01-14 at 10 56 01
Screen Shot 2022-01-14 at 10 56 09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants