WC_Webhook::generate_signature()

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

Used by 1 function | Uses 1 function