I've been trying to wrap my head around how this while verification process works. I set up an Apache server and PHP to accept requests on my web server. eBay front-end is responding with: "Marketplace account deletion endpoint validation failed. Click here to learn more about setting up an endpoint."
I verified with postman that the following works on the endpoint:
Response: 200 OK
The challenge response is the challenge code, verification token, and endpoint url per eBay documentation. What am I doing wrong?
Below is the PHP script I set up:
$hash = hash_hmac('sha256', $_GET['challenge_code'] . 'aDehf8QnRFVXH8GxBrn94oD7zMPHCus8' . 'https://webservername.duckdns.org/verify.php', '');
echo json_encode(['challengeResponse' => $hash]);
Digging around and found some people were having issues with SSL certs. Set up my server to use CertBot and verified that SSL Certs are trusted using SSLLabs.com. eBay is still not accepting my url and token.