question

sing-harv avatar image
0 Likes"
sing-harv asked ·

MARKETPLACE_ACCOUNT_DELETION Notifications

Hello


I received notification from eBay to enrol on MARKETPLACE_ACCOUNT_DELETION notifications. I have enrolled and started getting notifications from eBay however none of the notifications contains the JSON message that the documentation mentions I am simply getting pinged by eBay Notification service on the address without the JSON payload.


Since this is a simple JSON POST data payload, I am simply listening and extracting the all data to a file and so far there is no POST data I am receiving. Can someone please help me with this?

account_deletionmarketplace_account_deletionmarketplace notifications
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.

1 Answer

· Write an Answer
sing-harv avatar image
0 Likes"
sing-harv answered ·

I think it was that time of the day, I was not reading the JSON message from the payload :(


All sorted now:


$inputJSON = file_get_contents('php://input');

$input = json_decode($inputJSON, true);


·
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.

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.