<?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 Re: Sample PHP script for webhooks notification listener page? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-PHP-script-for-webhooks-notification-listener-page/m-p/64291#M38220</link>
    <description>&lt;P&gt;Here is a resource:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/" target="_self"&gt;http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 21:57:36 GMT</pubDate>
    <dc:creator>coppercup</dc:creator>
    <dc:date>2018-08-23T21:57:36Z</dc:date>
    <item>
      <title>Sample PHP script for webhooks notification listener page?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-PHP-script-for-webhooks-notification-listener-page/m-p/63293#M37452</link>
      <description>&lt;P&gt;I've been trying for the past few days to get webhooks authcapture notifications to work for credit card payments using sandbox mode.&amp;nbsp;&amp;nbsp; My webhook url listener page never seems to receive data from authorize.net though after successful transactions.&amp;nbsp;&amp;nbsp; I'm using the Hosted Payment page that opens as a new window (not the iframe version).&amp;nbsp; It works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm somewhat new to this type of integration so I was wondering if there was a functioning PHP script that someone would be willing to share that I could use as a starting point.&amp;nbsp;&amp;nbsp; (There are little snippets of code in the documentation but nothing I've seen that's even remotely close to showing the entire process.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****&amp;nbsp; THINGS I'VE DONE SO FAR *************************&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Signed up for webhooks and subscribed to all event types just to insure I'd get the one or two that are relevant for testing.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; I have signature keys, transaction keys, etc...&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Built my system to use the hosted payment page to open in a new window.&amp;nbsp; It works fine and sends me email notification when credit card (authcapture) transactions complete.&lt;/P&gt;&lt;P&gt;4. I can send a command to authorize.net to see what webhook event types I've subscribed to and that works fine too.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Set the sandbox to live mode.&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; Made what I think should be a functional PHP listener URL for my webhooks.&amp;nbsp; I have made it super simple to begin with.&amp;nbsp; All it does initially is immediately write a timestamped record to a database when the page is called.&amp;nbsp; That works fine when I call it from external to my server.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem:&amp;nbsp; The listener page never shows that its accessed after successful authorize.net transactions.&amp;nbsp;&amp;nbsp; Hence I'd like to see how other people do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:01:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-PHP-script-for-webhooks-notification-listener-page/m-p/63293#M37452</guid>
      <dc:creator>jjauthnet</dc:creator>
      <dc:date>2018-06-04T20:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sample PHP script for webhooks notification listener page?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-PHP-script-for-webhooks-notification-listener-page/m-p/64291#M38220</link>
      <description>&lt;P&gt;Here is a resource:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/" target="_self"&gt;http://www.johnconde.net/blog/handling-authorize-net-webhooks-with-php/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 21:57:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-PHP-script-for-webhooks-notification-listener-page/m-p/64291#M38220</guid>
      <dc:creator>coppercup</dc:creator>
      <dc:date>2018-08-23T21:57:36Z</dc:date>
    </item>
  </channel>
</rss>

