question

petstandard avatar image
1 Like"
petstandard asked

Marketplace Account Deletion/Closure Notifications - Endpoint not accepted

Hello,

I'm trying to setup my endpoint for the Account Deletion/Closure Notifications.

I do enter a valid endpoint, but I still get the error. "Please use a valid secure https endpoint (https://domain/path) for the Marketplace account deletion notification endpoint"

My endpoint is indeed valid and secured via ssl (LetsEncrypt)

At first, as I expect a JSON payload, I was returning a HTTP 400 response. I also tried HTTP 200 response but I still get the same error.

Any idea ?

Thanks,

delete accountendpoint compliance
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

petstandard avatar image
0 Likes"
petstandard answered

I got it to work.

There is a bug on the eBay page. It only accepts what seems to be a maximum of 1 sub-path.

My original endpoint was: https://example.com/path1/path2/url

This created an error.

I changed it to https://example.com/path1/url and it works.

I hope that helps someone if they get the same error.

Regards,

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sing-harv avatar image
0 Likes"
sing-harv answered

I also have similar problem with this new notification, I am not getting any JSON payload with the notifications I am receiving. https://forums.developer.ebay.com/questions/40851/marketplace-account-deletion-notifications.html


Did you manage to get any notifications with JSON payload?

· 2
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I can't even get to that point. I get an error message when I try to enter my endpoint in the Alerts & Notifications tab for the field "Marketplace account deletion notification endpoint"

I can't try and test the notifications because of that.

But to answer your question I would just get the payload with this in PHP

$payload = @file_get_contents('php://input');
$data = json_decode($payload, true);

But I'm not even there yet.



0 Likes 0 ·

Thanks, I did manage to get it to work with exactly this method. I am getting all notifications.

1 Like 1 ·
krzyspiak avatar image
0 Likes"
krzyspiak answered

In my case the Send Test Notification keeps saying:

"Notification delivery failed with HTTP status code 404 from https://app.mysite.com:5443/api/EbayApi. Please ensure that the marketplace account deletion notification endpoint is ready to receive notifications."

even though I can run a test post from an app or even this online site https://reqbin.com/

I tried shortening the url as suggested above, but no difference. Right now the function endpoint is clean and just returns a status code which I've tried returning 200 OK or 204 No Content. All Send Test Notifications still say 404 not found even though I can hit it using other means as stated.

Any suggestions?

Thank you.

· 3
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Please ignore this error, it seems to be just an issue with the eBay interface. I am getting the same error message on eBay Developer website but. it is able to send notifications without any issues. You will also notice that the test message is also sent successfully to your endpoint even though you get 404 error on eBay web interface.

0 Likes 0 ·

Unfortunately that does not seem to be the case here. I can log entry from the other post attempts from https://reqbin.com/ for example to confirm it being hit. But when I run the test from ebay on the same endpoint it gets 404. Moreover, ebay sent me an email warning me that if it is not fixed in 30 days then they will deactivate my application.

0 Likes 0 ·

Hello,

My solution only concerne the endpoint being validated by the eBay page.

For your issue, what I would do, is:

Check web server when you launch the test

  • If no request received (check DNS and/or firewall) . Also, try to get a standard port eBay might have a bug on that.
  • If request received
    • Check that your SSL certificate is valid and does not fire an exception for having a non legitimate third-party authority.
    • Check the page and make sure your page exist with the same case (uppercase and lowercase).
    • Check your code and make sure you don't return a 404 header

Hope that helps.

Regards,

0 Likes 0 ·
onelay7 avatar image
0 Likes"
onelay7 answered

I have no idea of a marketplace account deletion notification endpoint, is that my web address?

If so, why I don't get the test notification?

· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

It's for eBay Required Privacy Compliance.

We all have to implement this endpoint to be compliant and the deadline is Aug 31st 2021.

You should have received an email or will receive an email.

You need to setup your endpoint here.

https://developer.ebay.com/my/push?env=production&index=0

And the documentation is here.

https://developer.ebay.com/marketplace-account-deletion

Regards,

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.