#1
(This post was last modified: 20 August, 2020 - 05:37 PM by Sapu98.)
Hey, first post here, I saw there were some people using sellix and I need some help with it sooo....
Does anyone know where can I get the webhook secret they are talking about?
Code:
$payload = file_get_contents('php://input');
$secret = "testing981y25n89byoas7by"; // replace with your webhook secret
$header_signature = $_SERVER["HTTP_X_SELLIX_SIGNATURE"]; // get our signature header
$signature = hash_hmac('sha512', $payload, $secret);
if (hash_equals($signature, $header_signature)) {
// handle valid webhook
}


The only similar thing I found is the API key which isn't working in that php file...:

[Image: XW4WuNW.png]