<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Wrong Event Type in Webhook Ping Payload in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Wrong-Event-Type-in-Webhook-Ping-Payload/m-p/58630#M33251</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have registered a webhook in my sandbox account and selected just a single event:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;net.authorize.payment.capture.created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I ping it the payload is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"notificationId":"f2d977df-1eba-4b81-8ec3-074f35d18a89","eventType":"net.authorize.payment.authcapture.created","eventDate":"2017-06-29T10:48:59.3649911Z","webhookId":"e4b78407-9d6c-4c4e-ba5e-5198daa98565","payload":{"responseCode":21,"authCode":"572","avsResponse":"M","authAmount":12.5,"entityName":"transaction","id":"245"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On 100% of my tests the event type in the payload is always:&amp;nbsp;&lt;/P&gt;&lt;P&gt;net.authorize.payment.authcapture.created&lt;/P&gt;&lt;P&gt;and not&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;net.authorize.payment.capture.created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this just an anomlay of sandbox or ping requests? Or do I need to handle this somehow?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Graham&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 10:55:29 GMT</pubDate>
    <dc:creator>1grukltd</dc:creator>
    <dc:date>2017-06-29T10:55:29Z</dc:date>
    <item>
      <title>Wrong Event Type in Webhook Ping Payload</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Wrong-Event-Type-in-Webhook-Ping-Payload/m-p/58630#M33251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have registered a webhook in my sandbox account and selected just a single event:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;net.authorize.payment.capture.created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I ping it the payload is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"notificationId":"f2d977df-1eba-4b81-8ec3-074f35d18a89","eventType":"net.authorize.payment.authcapture.created","eventDate":"2017-06-29T10:48:59.3649911Z","webhookId":"e4b78407-9d6c-4c4e-ba5e-5198daa98565","payload":{"responseCode":21,"authCode":"572","avsResponse":"M","authAmount":12.5,"entityName":"transaction","id":"245"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On 100% of my tests the event type in the payload is always:&amp;nbsp;&lt;/P&gt;&lt;P&gt;net.authorize.payment.authcapture.created&lt;/P&gt;&lt;P&gt;and not&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;net.authorize.payment.capture.created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this just an anomlay of sandbox or ping requests? Or do I need to handle this somehow?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Graham&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 10:55:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Wrong-Event-Type-in-Webhook-Ping-Payload/m-p/58630#M33251</guid>
      <dc:creator>1grukltd</dc:creator>
      <dc:date>2017-06-29T10:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Event Type in Webhook Ping Payload</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Wrong-Event-Type-in-Webhook-Ping-Payload/m-p/58655#M33274</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21956"&gt;@1grukltd&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The eventType and the payload are the same for all test notifications, regardless of what the Webhook is registered for. The&amp;nbsp;'pings' command is designed more for testing that your system can actually receive a notification, not for testing that it's processing every part of the notification correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a few ways that we could enhance that in the future, possibly by allowing you to send a request to test that Webhook for a specific eventType, or by allowing you to send a specific payload to be passed on in the test notification. If that's something you'd like to see, I'd encourage you to post this onto our &lt;A href="https://community.developer.cybersource.com/t5/Ideas/idb-p/ideas" target="_self"&gt;Ideas Forum&lt;/A&gt; where others can take a look, contribute feedback, and vote for new features.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 21:55:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Wrong-Event-Type-in-Webhook-Ping-Payload/m-p/58655#M33274</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-06-30T21:55:53Z</dc:date>
    </item>
  </channel>
</rss>

