WooCommerce Code Reference

WC_Gateway_Paypal_Webhook_Handler
in package

Handles webhook events.

Tags
deprecated
10.5.0

Deprecated in favor of Automattic\WooCommerce\Gateways\PayPal\WebhookHandler

Table of Contents

$webhook_handler  : WebhookHandler
The delegated webhook handler instance.
__construct()  : mixed
Constructor.
process_webhook()  : void
Process the webhook event.

Properties

Methods

process_webhook()

Process the webhook event.

public process_webhook(WP_REST_Request $request) : void
Parameters
$request : WP_REST_Request

The request object.

Tags
deprecated
10.5.0

Use Automattic\WooCommerce\Gateways\PayPal\WebhookHandler::process_webhook() instead. This method will be removed in 11.0.0.

deprecated
10.5.0

Deprecated in favor of Automattic\WooCommerce\Gateways\PayPal\WebhookHandler::process_webhook

Return values
void