<?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 not receiving webhook notification and also not able to identify event for Recurring billing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/not-receiving-webhook-notification-and-also-not-able-to-identify/m-p/60473#M35000</link>
    <description>&lt;P class="p1"&gt;when I ping my webhook it returns nothing&lt;/P&gt;&lt;P class="p1"&gt;Error: Authorization has been denied for this request.&lt;/P&gt;&lt;P class="p2"&gt;&lt;A href="https://apitest.authorize.net/rest/v1/webhooks/fbd79f93-5e5a-4b19-8914-e91cf3d536b8/pings" target="_blank"&gt;https://apitest.authorize.net/rest/v1/webhooks/fbd79f93-5e5a-4b19-8914-e91cf3d536b8/pings&lt;/A&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I am following this example:- &lt;A href="http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/" target="_blank"&gt;http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/&lt;/A&gt;&lt;/P&gt;&lt;P class="p1"&gt;but I am not receiving payload&lt;/P&gt;&lt;P class="p1"&gt;My code In API Endpoint URL PHP file is like this&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;$headers = getallheaders();&lt;/P&gt;&lt;P class="p1"&gt;$payload = file_get_contents("php://input");&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;$webhook = new AuthnetWebhook(AUTHNET_SIGNATURE, $payload, $headers);&lt;/P&gt;&lt;P class="p1"&gt;if ($webhook-&amp;gt;isValid()) {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;// Access notification values&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;// Get the transaction ID&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$transactionId = $webhook-&amp;gt;payload-&amp;gt;id;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;// Here you can get more information about the transaction&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$request&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;= AuthnetApiFactory::getJsonApiHandler(AUTHNET_LOGIN, AUTHNET_TRANSKEY);&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$response = $request-&amp;gt;getTransactionDetailsRequest(array(&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'transId' =&amp;gt; $transactionId&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;));&lt;/P&gt;&lt;P class="p1"&gt;}&lt;/P&gt;&lt;P class="p1"&gt;what are the steps for receiving webhook notification in php&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 04:30:43 GMT</pubDate>
    <dc:creator>umesh278</dc:creator>
    <dc:date>2017-11-14T04:30:43Z</dc:date>
    <item>
      <title>not receiving webhook notification and also not able to identify event for Recurring billing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/not-receiving-webhook-notification-and-also-not-able-to-identify/m-p/60473#M35000</link>
      <description>&lt;P class="p1"&gt;when I ping my webhook it returns nothing&lt;/P&gt;&lt;P class="p1"&gt;Error: Authorization has been denied for this request.&lt;/P&gt;&lt;P class="p2"&gt;&lt;A href="https://apitest.authorize.net/rest/v1/webhooks/fbd79f93-5e5a-4b19-8914-e91cf3d536b8/pings" target="_blank"&gt;https://apitest.authorize.net/rest/v1/webhooks/fbd79f93-5e5a-4b19-8914-e91cf3d536b8/pings&lt;/A&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I am following this example:- &lt;A href="http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/" target="_blank"&gt;http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/&lt;/A&gt;&lt;/P&gt;&lt;P class="p1"&gt;but I am not receiving payload&lt;/P&gt;&lt;P class="p1"&gt;My code In API Endpoint URL PHP file is like this&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;$headers = getallheaders();&lt;/P&gt;&lt;P class="p1"&gt;$payload = file_get_contents("php://input");&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;$webhook = new AuthnetWebhook(AUTHNET_SIGNATURE, $payload, $headers);&lt;/P&gt;&lt;P class="p1"&gt;if ($webhook-&amp;gt;isValid()) {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;// Access notification values&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;// Get the transaction ID&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$transactionId = $webhook-&amp;gt;payload-&amp;gt;id;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;// Here you can get more information about the transaction&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$request&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;= AuthnetApiFactory::getJsonApiHandler(AUTHNET_LOGIN, AUTHNET_TRANSKEY);&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$response = $request-&amp;gt;getTransactionDetailsRequest(array(&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'transId' =&amp;gt; $transactionId&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;));&lt;/P&gt;&lt;P class="p1"&gt;}&lt;/P&gt;&lt;P class="p1"&gt;what are the steps for receiving webhook notification in php&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 04:30:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/not-receiving-webhook-notification-and-also-not-able-to-identify/m-p/60473#M35000</guid>
      <dc:creator>umesh278</dc:creator>
      <dc:date>2017-11-14T04:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: not receiving webhook notification and also not able to identify event for Recurring billing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/not-receiving-webhook-notification-and-also-not-able-to-identify/m-p/60495#M35021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/22637"&gt;@umesh278&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can set up Webhooks and send requests to ping using the Webhooks API, but you need to make sure you're sending the Authorization information correctly. If you're getting the error "Authorization has been denied for this request" when you make a ping request through the API, it means you don't have the Authorization information correct in the request. So, we're never even sending a test notification to your listener URL since we never processed the request from you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's probably easier while you're testing to just do all of your Webhooks setup and management through the Merchant Interface. When you log in and find your way to "Webhooks", you can set up new Webhooks, and test existing ones just by clicking a button.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 19:21:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/not-receiving-webhook-notification-and-also-not-able-to-identify/m-p/60495#M35021</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-11-14T19:21:42Z</dc:date>
    </item>
  </channel>
</rss>

