01-18-2024 07:58 PM
I'm am unable to validate my marketplace account deletion endpoint.
My endpoint is using the following code.
$hash = hash_init('sha256');
hash_update($hash, $challengeCode);
hash_update($hash, $verificationToken);
hash_update($hash, $endpoint);
$responseHash = hash_final($hash);
return response()->json(["challengeResponse"=>$responseHash], 200);
Each time to try to validate I get the following error message: "Marketplace account deletion endpoint validation failed. Click here to learn more about setting up an endpoint."
I am able to fit the endpoint in my browser and postman fine.
I see the endpoint in my access log when I manually visit or when I use postman. I don't any other access to that endpoints from ebay.
Does anyone have any suggestions?
Solved! Go to Best Answer
01-25-2024 06:04 AM
I finally figured out what was going wrong.
My endpoint was on a https...but I only had the SSL configured with the certificate. I suspected this was the issue since I never saw any traffic from Ebay in my logs and I could only hit the endpoint with Postman if I disabled the SSL verification.
Once I added the chain and restarted the server, Ebay was able to hit the endpoint.
01-18-2024 08:00 PM
Hmm...I thought I editted the code I provided. It's actually more like this:
$hash = hash_init('sha256');
hash_update($hash, $request->challenge_code);
hash_update($hash, "f92e63874c438db0ae62560aa752fad3f92e63874c438db0ae62560aa752fad3");
hash_update($hash, "https://domain.com/endpoint");
$responseHash = hash_final($hash);
return response()->json(["challengeResponse"=>$responseHash], 200);
01-25-2024 06:04 AM
I finally figured out what was going wrong.
My endpoint was on a https...but I only had the SSL configured with the certificate. I suspected this was the issue since I never saw any traffic from Ebay in my logs and I could only hit the endpoint with Postman if I disabled the SSL verification.
Once I added the chain and restarted the server, Ebay was able to hit the endpoint.
04-08-2025 05:23 PM
I'm facing the same issue. How would one go about fixing this ? I don't see any logs that show that eBay was able to hit my endpoint.
05-30-2025 03:24 AM
I had the same issue—eBay’s validation doesn’t seem to hit your endpoint directly, so you won’t see logs from their attempts. Make sure your endpoint responds with the exact expected status and payload immediately on validation requests (usually a simple 200 OK with specific content). Also, check your firewall or security settings aren’t blocking eBay’s IPs. Sometimes adding eBay’s IP ranges to allowlist helps the validation go through.
I hope it helps!