cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot validate my marketplace account deletion endpoint

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?

 

 

Message 1 of 5
latest reply
1 BEST ANSWER

Accepted Solutions

Cannot validate my marketplace account deletion endpoint

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.

View Best Answer in original post

Message 3 of 5
latest reply
4 REPLIES 4

Cannot validate my marketplace account deletion endpoint

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);
Message 2 of 5
latest reply

Cannot validate my marketplace account deletion endpoint

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.

Message 3 of 5
latest reply

Cannot validate my marketplace account deletion endpoint

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.

Message 4 of 5
latest reply

Cannot validate my marketplace account deletion endpoint

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!

Message 5 of 5
latest reply