Search code examples
ebay-api

eBay notifications are not being received


I am trying to receive notifications for ItemListed from the Ebay API on Production.

I have successfully subscribed to Ebay's notifications although I am not receiving any mail or call to the specified URL upon actions that I surely know have happened.

I logged in to my developers account and set the right URL and email for notifications.

This is the XML code for the subscription:

<?xml version="1.0" encoding="utf-8"?>
<SetNotificationPreferencesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<!-- Use the Developer portal or the <ApplicationDeliveryPreferences> container to set 
     the Application delivery settings -->
  <RequesterCredentials>
    <eBayAuthToken></eBayAuthToken>
  </RequesterCredentials>
    <ErrorLanguage>en_US</ErrorLanguage>
    <WarningLevel>High</WarningLevel>
<ApplicationDeliveryPreferences>
   <!--Enter an email address-->
<AlertEmail>mailto://[email protected]</AlertEmail>
<AlertEnable>Enable</AlertEnable>
<ApplicationEnable>Enable</ApplicationEnable>
<ApplicationURL>MYHHTPSURL</ApplicationURL>
<DeviceType>Platform</DeviceType>
<DeliveryURLDetails>
      <DeliveryURL>MYHTTPSURL</DeliveryURL>
      <DeliveryURLName>TEST</DeliveryURLName>
      <Status>Enable</Status>
    </DeliveryURLDetails>
</ApplicationDeliveryPreferences> -->
<!-- Use the UserDeliveryPreferenceArray to enable to the user for various Event -->
<UserDeliveryPreferenceArray>
<NotificationEnable><EventType>ItemListed</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
</UserDeliveryPreferenceArray>
</SetNotificationPreferencesRequest>

I am adding a pastebin link with the GetNotificationPreferences: https://pastebin.com/JBAnnX8d

To me everything seems completely fine. Anyone can shed some light?


Solution

  • Might be helpful to people having this problem in the future. I solved it by authenticating to the API through eBay's authnauth system. Weird solution but works.