Hi everyone,
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:
GET "https://webservername.duckdns.org/verify.php?challenge_code=aDehf8QnRFVXH8GxBrn94oD7zMPHCus8"
Response: 200 OK
{
"challengeResponse": "4cda6c2bc6eced81e022ec9b73ab978ff48c26f9422907a108ca454cf9ec7546"}
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:
<?php
$hash = hash_hmac('sha256', $_GET['challenge_code'] . 'aDehf8QnRFVXH8GxBrn94oD7zMPHCus8' . 'https://webservername.duckdns.org/verify.php', '');
header('Content-Type: application/json');
echo json_encode(['challengeResponse' => $hash]);
?>
Thanks everyone!
Update 1:
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.