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
Spatie\WebhookClient\Exceptions\InvalidConfig
`App\Jobs\WooCommerce\ProcessWebhookJob` is not a valid process webhook job class. A valid class should implement `Spatie\WebhookClient\ProcessWebhookJob`.
http://127.0.0.1:8000/api/webhook-receiving-url
namespace App\Jobs;
use App\Category;
use \Spatie\WebhookClient\ProcessWebhookJob as SpatieProcessWebhookJob;
class ProcessWebhookJob extends SpatieProcessWebhookJob
{
public function handle()
{
// $this->webhookCall // contains an instance of `WebhookCall`
$payload = json_decode($this->webhookCall->payload);
// do stuff
}
}
The text was updated successfully, but these errors were encountered:
webhook-client.php:
'process_webhook_job' => app\Jobs\WooCommerce\ProcessWebhookJob::class,
ProcessWebhookJob.php:
The text was updated successfully, but these errors were encountered: