Skip to main content
Published: March 31 2007, 5:14:00 PMUpdated: November 28 2020, 3:33:56 PM

How can I test Feedback Notification ?

Summary

   A Feedback notification is triggered when a seller successfully left a feedback to a buyer or a buyer leaves a feedback to a seller.


Detailed Description

You need to have two sandbox test accounts, say testseller and testbuyer for testing Feedback Notification.

1.  Make SetNotificationPreferences API request to subscribe to Feedback notification event for  the user testseller  as below:

  <?xml version="1.0" encoding="utf-8" ?>
 <SetNotificationPreferencesRequestxmlns="urn:ebay:apis:eBLBaseComponents">
  <Version>505</Version>
   <RequesterCredentials>
  <eBayAuthToken>TOKEN</eBayAuthToken>
  </RequesterCredentials>
   <UserDeliveryPreferenceArray>
 
  <NotificationEnable>
  <EventType>Feedback</EventType>
  <EventEnable>Enable</EventEnable>
  </NotificationEnable>
  </UserDeliveryPreferenceArray>
   <ApplicationDeliveryPreferences>
  <ApplicationURL>https://yourapplication/notificationListener</ApplicationURL>
  <ApplicationEnable>Enable</ApplicationEnable>
  </ApplicationDeliveryPreferences>
  </SetNotificationPreferencesRequest>

 2. List a Chinsee item with BuyItNowPrice as Sandbox user  testseller

 3. Log into the Sandbox site and purchase the item by click the item's Buy It Now button as the user testbuyer

 4. The user testbuyer pays the item puchased in step 3.

 5. The user testseller  makes CompleteSale to update the items payment status/shipping status and leaves feedback as follows:

<?xml version="1.0" encoding="utf-8" ?>

  <CompleteSaleRequestxmlns="urn:ebay:apis:eBLBaseComponents">
  <ErrorLanguage>en_US</ErrorLanguage>
  <Version>505</Version>
  <ItemID>110018143722</ItemID>
  <TransactionID>0</TransactionID>
   <FeedbackInfo>
  <CommentText>Seller to buyer (item 110018143722) Great transaction, great buyer!</CommentText>
  <CommentType>Positive</CommentType>
  <TargetUser>buyer1</TargetUser>
  </FeedbackInfo>
  <Shipped>true</Shipped>
  <Paid>true</Paid>
  <ErrorHandling>BestEffort</ErrorHandling>
  <RequesterCredentials>
  <eBayAuthToken>TOKEN</eBayAuthToken>
  </RequesterCredentials>
  </CompleteSaleRequest>

 6.  testseller checks if the Feedback notfication is sent to the notfication listener that specified in the SetNoticationPreference API request. The sample Feedback notification that triggered by Seller's leaving feedback action is as below. Please note that the seller's uerID appears in both RecipientUserID and CommentingID tags.

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Header>
  <ebl:RequesterCredentials soapenv:mustUnderstand="0" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:ebl="urn:ebay:apis:eBLBaseComponents">
  <ebl:NotificationSignaturexmlns:ebl="urn:ebay:apis:eBLBaseComponents">2d1xkUomJtoX7NJ1JL4rgQ==</ebl:NotificationSignature>
  </ebl:RequesterCredentials>
 </soapenv:Header>
 <soapenv:Body>
  <GetFeedbackResponse xmlns="urn:ebay:apis:eBLBaseComponents">
   <Timestamp>2007-04-01T00:07:16.951Z</Timestamp>
   <Ack>Success</Ack>
   <CorrelationID>173643580</CorrelationID>
   <Version>503</Version>
   <Build>e503_core_Bundled_4329350_R1</Build>
   <NotificationEventName>Feedback</NotificationEventName>
   <RecipientUserID>testseller</RecipientUserID>
   <FeedbackDetailArray>
    <FeedbackDetail>
    
<CommentingUser>testseller</CommentingUser>
     <CommentingUserScore>3</CommentingUserScore>
     <CommentText>Seller to buyer (item 110018143722) Great transaction, great buyer!</CommentText>
     <CommentTime>2007-04-01T00:07:16.000Z</CommentTime>
     <CommentType>Positive</CommentType>
     <ItemID>110018143722</ItemID>
     <Role>Buyer</Role>
     <FeedbackID>100065278010</FeedbackID>
     <ItemTitle>Feedback 5 item title</ItemTitle>
     <ItemPrice currencyID="USD">10.0</ItemPrice>
    </FeedbackDetail>
   </FeedbackDetailArray>
   <FeedbackDetailItemTotal>509</FeedbackDetailItemTotal>
   <FeedbackScore>505</FeedbackScore>
  </GetFeedbackResponse>
 </soapenv:Body>
</soapenv:Envelope>

7.  When the user testbuyer  leaves Feedback for the seller of the item, the seller receives another Feedback notification  with the buyer's userID shows in CommentingUser tag .

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Header>
  <ebl:RequesterCredentials soapenv:mustUnderstand="0" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:ebl="urn:ebay:apis:eBLBaseComponents">
  <ebl:NotificationSignaturexmlns:ebl="urn:ebay:apis:eBLBaseComponents">X8Ep+MH32KTnJ6he0YTgSg==</ebl:NotificationSignature>
  </ebl:RequesterCredentials>
 </soapenv:Header>
 <soapenv:Body>
  <GetFeedbackResponse xmlns="urn:ebay:apis:eBLBaseComponents">
   <Timestamp>2007-03-31T22:03:23.283Z</Timestamp>
   <Ack>Success</Ack>
   <CorrelationID>173621680</CorrelationID>
   <Version>503</Version>
   <Build>e503_core_Bundled_4329350_R1</Build>
   <NotificationEventName>Feedback</NotificationEventName>
   <RecipientUserID>testseller</RecipientUserID>
   <FeedbackDetailArray>
    <FeedbackDetail>
     <CommentingUser>testbuyer</CommentingUser>
     <CommentingUserScore>505</CommentingUserScore>
     <CommentText>Great +++++++ !</CommentText>
     <CommentTime>2007-03-31T22:03:22.000Z</CommentTime>
     <CommentType>Positive</CommentType>
     <ItemID>110018141372</ItemID>
     <Role>Seller</Role>
     <FeedbackID>100064963010</FeedbackID>
     <ItemTitle>Feedback item title</ItemTitle>
     <ItemPrice currencyID="USD">10.0</ItemPrice>
    </FeedbackDetail>
   </FeedbackDetailArray>
   <FeedbackDetailItemTotal>7</FeedbackDetailItemTotal>
   <FeedbackScore>3</FeedbackScore>
  </GetFeedbackResponse>
 </soapenv:Body>
</soapenv:Envelope>


 Additional Resource

How well did this answer your question?
Answers others found helpful