For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Testing Feedback Notifications

  • Answer ID 680
  • Published 09/14/2006 11:44 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=680
Product
How can I test the Feedback Platform Notification?

Summary

A Feedback notification is sent when Feedback is left either for a Buyer or a Seller. In order to test Feedback notifications, you need to first set up notifications at the application and user level. You with then need to create test scenarios in the sandbox. This article walks through the steps needed to test Feedback notifications for eBay Sellers and eBay Buyers.


Detailed Description

1. Create 2 Sandbox test users. For the purposes of this article, we will call them testseller1 and testbuyer1.  Use the sandbox user creation tool at http://developer.ebay.com/DevZone/sandboxuser.asp

2. Create tokens for both users via the Token Generation Tool at  http://developer.ebay.com/tokentool/

3. Set up Application Level notification preferences via the SetNotificationPreferences call. You may use any user’s token for setting Application Level preferences.

Example:
<SetNotificationPreferencesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <Version>429</Version>
  <ApplicationDeliveryPreferences>
  <ApplicationURL>http://www.mycompany.com/notifyurl.cgi</ApplicationURL>
  <ApplicationEnable>Enable</ApplicationEnable>
  </ApplicationDeliveryPreferences>
</SetNotificationPreferencesRequest>

Note: If you have not yet set up your notifications listener URL or are not sure if you are actually receiving notifications, you can set your <ApplicationURL> to use SMTP and send you the notification via email. To do this, set the <ApplicationURL> property to mailto://youremailaddress@yourdomain.com.

4. Set up User Level notification preferences to enable the AskSellerQuestion notification via the SetNotificationPreferences call. Make the call once using testseller1's token, and then once more using testbuyer1's token.

Example:
<SetNotificationPreferencesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <Version>429</Version>
  <UserDeliveryPreferenceArray>
  <NotificationEnable>
     <EventType>Feedback</EventType>
     <EventEnable>Enable</EventEnable>
  </NotificationEnable>
  </UserDeliveryPreferenceArray>
</SetNotificationPreferencesRequest>

5. List a FixedPriceItem using testseller1’s token

Example:

<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <Version>473</Version>
  <ErrorLanguage>en_US</ErrorLanguage>
  <WarningLevel>High</WarningLevel>
  <Item>
    <ListingType>FixedPriceItem</ListingType>
    <Country>US</Country>
    <Currency>USD</Currency>
    <Description>Test AskSellerQuestion Item</Description>
    <ListingDuration>Days_5</ListingDuration>
    <Location>San Jose, CA</Location>
    <PaymentMethods>PaymentSeeDescription</PaymentMethods>
    <PrimaryCategory>
      <CategoryID>14111</CategoryID>
    </PrimaryCategory>
    <Quantity>1</Quantity>
    <StartPrice>100.0</StartPrice>
    <ShippingTermsInDescription>True</ShippingTermsInDescription>
    <Title>Test AskSellerQuestion Itme</Title>
  </Item>
  <RequesterCredentials>
    <eBayAuthToken>x</eBayAuthToken>
  </RequesterCredentials>
</AddItemRequest>


6. Log into the sandbox as testbuyer1 and purchase the item you just listed.  Complete the checkout flow.  For example, use the ViewItem URL below and fill in your newly created item number: http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110005938664

7. Now Leave Feedback for the item just purchased as the buyer via the following URL: 
http://feedback.sandbox.ebay.com/ws/eBayISAPI.dll?GetAndShowTransactions&item=0&nflw=1&page=1


8. You will receive a notification for the testseller1 and testbuyer1 for the feedback just left.  The feedback will look like the example below,  with the RecipientUserID representing the target recipient of the notification message.  The CommentingUser will represent your buyer.

<?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">J7Z08nUWnZJ/EZtgVamt+A==</ebl:NotificationSignature>
  </ebl:RequesterCredentials>
 </soapenv:Header>
 <soapenv:Body>
  <GetFeedbackResponse xmlns="urn:ebay:apis:eBLBaseComponents">
   <Timestamp>2006-09-14T22:33:06.773Z</Timestamp>
   <Ack>Success</Ack>
   <CorrelationID>96762590</CorrelationID>
   <Version>477</Version>
   <Build>e477_core_Bundled_3514903_R1</Build>
   <NotificationEventName>Feedback</NotificationEventName>
   <RecipientUserID>mg_sandbox1</RecipientUserID>
   <FeedbackDetailArray>
    <FeedbackDetail>
     <CommentingUser>mg_sandbox2</CommentingUser>
     <CommentingUserScore>1</CommentingUserScore>
     <CommentText>I wasn&apos;t happy with the Seller!  Too long to Ship!</CommentText>
     <CommentTime>2006-09-14T22:33:06.000Z</CommentTime>
     <CommentType>Negative</CommentType>
     <ItemID>110005938664</ItemID>
     <Role>Seller</Role>
     <FeedbackID>10007340</FeedbackID>
     <TransactionID>5000810589</TransactionID>
    </FeedbackDetail>
   </FeedbackDetailArray>
   <FeedbackDetailItemTotal>7</FeedbackDetailItemTotal>
   <FeedbackScore>1</FeedbackScore>
  </GetFeedbackResponse>
 </soapenv:Body>
</soapenv:Envelope>

9. Now Leave Feedback for the item just purchased as the seller via the following URL. You will need to re-login as testseller1 for this step.
http://feedback.sandbox.ebay.com/ws/eBayISAPI.dll?GetAndShowTransactions&item=0&nflw=1&page=1

10. You will receive a notification for the testseller1 and testbuyer1 for the feedback just left.  The feedback will look like the example below,  with the RecipientUserID representing the target recipient of the notification message.  The commenting user will represent your seller.

<?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">8sz/RLepEKrcpc8t1qwhaQ==</ebl:NotificationSignature>
  </ebl:RequesterCredentials>
 </soapenv:Header>
 <soapenv:Body>
  <GetFeedbackResponse xmlns="urn:ebay:apis:eBLBaseComponents">
   <Timestamp>2006-09-14T22:38:56.993Z</Timestamp>
   <Ack>Success</Ack>
   <CorrelationID>96763850</CorrelationID>
   <Version>477</Version>
   <Build>e477_core_Bundled_3514903_R1</Build>
   <NotificationEventName>Feedback</NotificationEventName>
   <RecipientUserID>mg_sandbox2</RecipientUserID>
   <FeedbackDetailArray>
    <FeedbackDetail>
     <CommentingUser>mg_sandbox1</CommentingUser>
     <CommentingUserScore>1</CommentingUserScore>
     <CommentText>Good Buyer!</CommentText>
     <CommentTime>2006-09-14T22:36:02.000Z</CommentTime>
     <CommentType>Positive</CommentType>
     <ItemID>110005938664</ItemID>
     <Role>Buyer</Role>
     <FeedbackID>10026525</FeedbackID>
     <TransactionID>5000810589</TransactionID>
    </FeedbackDetail>
   </FeedbackDetailArray>
   <FeedbackDetailItemTotal>6</FeedbackDetailItemTotal>
   <FeedbackScore>1</FeedbackScore>
  </GetFeedbackResponse>
 </soapenv:Body>
</soapenv:Envelope>

11. Congratulations! You have successfully gone through a complete feedback cycle in the Sandbox!  Now, to go one step further, lets see how 'Replies' to feedback comments look like in the Feedback notification event. Every time the buyer or seller replies to feedback left, a feedback notification event will also be generated. 

12. Go to the URL below and login as the buyer of the item.  Then choose the 'Reply' link and submit a response to the feedback sent by the seller.
http://feedback.sandbox.ebay.com/ws/eBayISAPI.dll?PersonalizedFeedbackLogin

13. You will recieve a Feedback notification for the seller and the buyer, with the feedback response captured as follows:

<?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">Db6+/D0rOEDNOVo9rnGQwQ==</ebl:NotificationSignature>
  </ebl:RequesterCredentials>
 </soapenv:Header>
 <soapenv:Body>
  <GetFeedbackResponse xmlns="urn:ebay:apis:eBLBaseComponents">
   <Timestamp>2006-09-14T22:51:04.386Z</Timestamp>
   <Ack>Success</Ack>
   <CorrelationID>96763420</CorrelationID>
   <Version>477</Version>
   <Build>e477_core_Bundled_3514903_R1</Build>
   <NotificationEventName>Feedback</NotificationEventName>
   <RecipientUserID>mg_sandbox1</RecipientUserID>
   <FeedbackDetailArray>
    <FeedbackDetail>
     <CommentingUser>mg_sandbox1</CommentingUser>
     <CommentingUserScore>1</CommentingUserScore>
     <CommentText>Good Buyer!</CommentText>
     <CommentTime>2006-09-14T22:36:02.000Z</CommentTime>
     <CommentType>Positive</CommentType>
     <FeedbackResponse>Thank you, but you still shipped the item late.</FeedbackResponse>
     <ItemID>110005938664</ItemID>
     <Role>Buyer</Role>
     <FeedbackID>10026525</FeedbackID>
     <TransactionID>5000810589</TransactionID>
    </FeedbackDetail>
   </FeedbackDetailArray>
   <FeedbackDetailItemTotal>6</FeedbackDetailItemTotal>
   <FeedbackScore>1</FeedbackScore>
  </GetFeedbackResponse>
 </soapenv:Body>
</soapenv:Envelope>


Additional Resources

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter