WC_Webhook::build_payload()
Method: Build the payload data for the webhook.
Source: includes/class-wc-webhook.php:455
Method: Build the payload data for the webhook.
Source: includes/class-wc-webhook.php:455
Method: Generate a base64-encoded HMAC-SHA256 signature of the payload body so the recipient can verify the authenticity of the webhook. Note that the signature is calculated after the body has already been encoded (JSON by default).
Source: includes/class-wc-webhook.php:493
Method: Generate a new unique hash as a delivery id based on current time and wehbook id.
Source: includes/class-wc-webhook.php:507
Method: Log the delivery request/response.
Source: includes/class-wc-webhook.php:521
Method: Track consecutive delivery failures and automatically disable the webhook.
Source: includes/class-wc-webhook.php:591
Method: Send a test ping to the delivery URL, sent when the webhook is first created.
Source: includes/class-wc-webhook.php:639
Method: Get the friendly name for the webhook.
Source: includes/class-wc-webhook.php:678
Method: Get the webhook status.
Source: includes/class-wc-webhook.php:694
Method: Process the webhook for delivery by verifying that it should be delivered.
Source: includes/class-wc-webhook.php:110
Method: Helper to check if the webhook should be delivered, as some hooks.
Source: includes/class-wc-webhook.php:139