Skip to content

WebhookHandlerInterface

Source: view src/Contracts/WebhookHandlerInterface.php

Generated from the public PHP contract and its PHPDoc. Driver support varies; check instanceof or GatewayCapabilities before calling optional gateway capabilities.

verifySignature

Verify the webhook signature

public function verifySignature(Request $request): bool;

parsePayload

Parse the webhook payload

public function parsePayload(Request $request): WebhookEventInterface;

handle

Handle the webhook event

public function handle(WebhookEventInterface $event): void;