I have been attempting to make my woocommerce webhooks more secure by verifying the signature in the request headers but I have not be been able to get signatures to match at the moment so I am looking for some guidance.
The code below is what I use to compute the signature (aka computedSignature) in Node Js and compare it to what woocommerce webhook sends (signature).
I have been attempting to make my woocommerce webhooks more secure by verifying the signature in the request headers but I have not be been able to get signatures to match at the moment so I am looking for some guidance.
The code below is what I use to compute the signature (aka computedSignature) in Node Js and compare it to what woocommerce webhook sends (signature).
Does anyone have any ideas or suggestions?