WC_Gateway_Paypal_Webhook_Handler::process_webhookpublicWC 1.0

Deprecated since 10.5.0 Deprecated in favor of Automattic\WooCommerce\Gateways\PayPal\WebhookHandler::process_webhook. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Process the webhook event.

Method of the class: WC_Gateway_Paypal_Webhook_Handler{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Gateway_Paypal_Webhook_Handler = new WC_Gateway_Paypal_Webhook_Handler();
$WC_Gateway_Paypal_Webhook_Handler->process_webhook( $request );
$request(WP_REST_Request) (required)
The request object.

Changelog

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

WC_Gateway_Paypal_Webhook_Handler::process_webhook() code WC 10.7.0

public function process_webhook( WP_REST_Request $request ) {
	wc_deprecated_function(
		__METHOD__,
		'10.5.0',
		PayPalWebhookHandler::class . '::process_webhook()'
	);

	$this->webhook_handler->process_webhook( $request );
}