我正在尝试从Ebay API on Production接收有关ItemListed的通知。
我已经成功订阅了Ebay的通知,尽管在我确定确实发生了操作后,我没有收到任何邮件或未调用指定的URL。
我登录了我的开发人员帐户,并设置了用于通知的正确URL和电子邮件。
这是订阅的XML代码:
<?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@email.com</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>
我正在添加具有GetNotificationPreferences的pastebin链接: https://pastebin.com/JBAnnX8d
对我来说,一切似乎都很好。任何人都可以阐明一些想法吗?
答案 0 :(得分:0)
将来可能会对有此问题的人有所帮助。我解决了 通过eBay的authnauth系统对API进行身份验证。奇怪的解决方案,但是有效。