<?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 verify webhook in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87719#M55235</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I recently began working on integrating with the new Webhook API to get transactions. This is being integrated into Nodejs. I would like to validate webhook messages using the X-ANET-Signature header, but so far have not been able to produce a matching signature . I have calculated the hash using the signature key and body of the webhook but it doesn't match the sha-512 in the webhook&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 11:27:49 GMT</pubDate>
    <dc:creator>nikhil</dc:creator>
    <dc:date>2023-10-03T11:27:49Z</dc:date>
    <item>
      <title>verify webhook</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87719#M55235</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I recently began working on integrating with the new Webhook API to get transactions. This is being integrated into Nodejs. I would like to validate webhook messages using the X-ANET-Signature header, but so far have not been able to produce a matching signature . I have calculated the hash using the signature key and body of the webhook but it doesn't match the sha-512 in the webhook&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 11:27:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87719#M55235</guid>
      <dc:creator>nikhil</dc:creator>
      <dc:date>2023-10-03T11:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: verify webhook</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87723#M55239</link>
      <description>&lt;P&gt;Nik,&lt;BR /&gt;&lt;BR /&gt;If the documentation&amp;nbsp;&lt;A title="Web Hooks" href="https://developer.authorize.net/api/reference/features/webhooks.html#Authentication" target="_blank" rel="noopener"&gt;https://developer.authorize.net/api/reference/features/webhooks.html#Authentication&lt;/A&gt;&amp;nbsp; does not amply describe how to validate webhook messages using the X-ANET-Signature header, a search on "validate webhook messages using the X-ANET-Signature" may help.&lt;BR /&gt;&lt;BR /&gt;This may be better answered on stackoverlfow or stackexchange.&lt;BR /&gt;&lt;BR /&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:11:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87723#M55239</guid>
      <dc:creator>marine2026</dc:creator>
      <dc:date>2023-10-03T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: verify webhook</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87726#M55241</link>
      <description>&lt;P&gt;&lt;SPAN&gt;David,&lt;BR /&gt;&lt;BR /&gt;I have implemented a solution for verifying the webhook in Nodejs. It's working when I perform a test webhook from authorize.net. But It doesnot working when i perform a actual transaction.&lt;BR /&gt;&lt;BR /&gt;Working The X-Anet-Signature: header is:&lt;BR /&gt;sha512=0589A02CC21A890173457D919A0C15E0E7A69890802884567FDBFB97ED9CF3A46C2187DF2FEE7A9B24DD14C8DAFFDC1D41FF2E4994B8C814B5A92CC98DDB40C0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;The body of the notification is:&lt;BR /&gt;{"notificationId":"b1a457ef-62ff-48a1-845b-0b54c4f7f990","eventType":"net.authorize.payment.authcapture.created","eventDate":"2023-10-04T09:16:16.6814876Z","webhookId":"3c03e386-15de-421d-b6fc-42c985e45904","payload":{"responseCode":21,"authCode":"572","avsResponse":"M","authAmount":12.5,"entityName":"transaction","id":"245"}},"params":{"payment_gateway":"authorizedotnet"}&lt;BR /&gt;&lt;BR /&gt;This one is working&amp;nbsp; I have added not working signature below&lt;BR /&gt;&lt;BR /&gt;The body of the notification is:&lt;BR /&gt;{"notificationId":"88798601-186d-46ed-abfd-ed562d9e1dea","eventType":"net.authorize.payment.authcapture.created","eventDate":"2023-10-04T10:04:13.7414478Z","webhookId":"3c03e386-15de-421d-b6fc-42c985e45904","payload":{"responseCode":1,"authCode":"MLZVJO","avsResponse":"Y","authAmount":50,"entityName":"transaction","id":"80005479498"}}&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;X-Anet-Signature: header is:&lt;BR /&gt;sha512=97ABB20AF0F9CBD5942CEC90F3F2DB9A70B5CC159FE03C4FD40DBE8C26DC5C80969ABCDC68A8307BC0FE0B20EACADD924C85A922864C2215EF51E2F24D0619FE&lt;BR /&gt;here is my signature:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;36848E762E920CFD4044F5D40B0608357567D87378C1DECB6591B5678EB41B5C4088F9EC3C9954C3F40AD08160E56EB177B1C2FDE85BD76F3F9E55FC75146D46&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:25:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/87726#M55241</guid>
      <dc:creator>nikhil</dc:creator>
      <dc:date>2023-10-04T10:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: verify webhook</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/88337#M55657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/65895"&gt;@nikhil&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Auth.net create a signature with authAmount&amp;nbsp;&lt;SPAN&gt;50.00 but&amp;nbsp;&lt;/SPAN&gt;send in webhook in another format:&amp;nbsp;&lt;SPAN&gt;50&lt;BR /&gt;&lt;/SPAN&gt;Try manually change and you'll get valid signature.&lt;BR /&gt;&lt;BR /&gt;I posted a post of all details but no response so far&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 11:56:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/verify-webhook/m-p/88337#M55657</guid>
      <dc:creator>sera_nikulin</dc:creator>
      <dc:date>2023-12-15T11:56:53Z</dc:date>
    </item>
  </channel>
</rss>

