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 4
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 4
latest reply
3 REPLIES 3

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 4
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 4
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 4
latest reply