<?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: Unable to add Webhook URL which is parameterised or query string in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67299#M40733</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I figured, we could add html fragments (#parameter), after the URL. The edit option of webhooks did not complain. The wb server sees two hashes as the same URL. Problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Will this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pilla Gurumurty Patrudu&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 08:50:16 GMT</pubDate>
    <dc:creator>pgpatrudu</dc:creator>
    <dc:date>2019-04-08T08:50:16Z</dc:date>
    <item>
      <title>Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65286#M38975</link>
      <description>&lt;P&gt;I am unable to add webhook which is parameterised or is a query string for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https:\\fromauthorizenet.ashx?type=hook does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason for above requirement is&lt;/P&gt;&lt;P&gt;I have mentioned return URL, cancel URL in GetAnAcceptPaymentHostedPage as mentioned below respectively&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Return URL: https:\\&lt;SPAN&gt;https:\\fromauthorizenet.ashx?type=return&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cancel URL: https:\\https:\\fromauthorizenet.ashx?type=cancel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In all the 3 cases I want my handler to route or do a business logic depending on the given type parameter. This is working fine in the setting for return and cancel URL however webhook is not helping me much in this case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any thoughts or ideas would be of great help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 19:40:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65286#M38975</guid>
      <dc:creator>mvkotekar1983</dc:creator>
      <dc:date>2018-12-06T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65299#M38988</link>
      <description>This one I probably can’t answer but just curious- I am guessing that you want to route for the cancel and receipt url and do logic for the Webhook?&lt;BR /&gt;&lt;BR /&gt;I am not versed in this at all. Is it possible to have the logic executed based on the presence of a header rather than parameters? If so, you could check for the presence of the X-Anet header, as only Webhooks will have that header.&lt;BR /&gt;&lt;BR /&gt;In php, the type of exercise you are describing is straightforward because you just write scripts that essentially boss around the server and tell it exactly what to do. So my endpoint has no parameters in the url, it just has a bunch of these “boss around” scripts that execute all the actions and logic I need it to.</description>
      <pubDate>Fri, 07 Dec 2018 17:09:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65299#M38988</guid>
      <dc:creator>Renaissance</dc:creator>
      <dc:date>2018-12-07T17:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65301#M38990</link>
      <description>&lt;P&gt;Thank you, I would like to make the changes as you suggested. However,&amp;nbsp;it would have been great if webhook allowed parameterized url. Since we are only defining what we want in the sandbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the clarification.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 19:46:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65301#M38990</guid>
      <dc:creator>mvkotekar1983</dc:creator>
      <dc:date>2018-12-07T19:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65303#M38991</link>
      <description>Sure thing. Go back to my post from when we began this and also the references on the developer site here for information about validating the webook. It is always possible that a malicious user could hit your endpoint with a header named X-Anet, but it’s not remotely possible for them to hit it with the properly hashed value associated with that header. It sounds like your .net/C# has many of the same script writing and server side “bossing around” as php or any other server side language. The only thing I knew about it was that http requests are handled differently, and that sounds like what you’re describing. I think it is best to default to script writing not based on any url parameters for Webhooks, even if authorize gave you that option. The reason is that you can be reasonably sure that someone clicking the continue button to go to the receipt page is a trustable user, because they’ve made it through all of your security protections on your app and also entered valid CC info on the orders page. Webhooks are different in that anyone on earth could try to hit your endpoint, as well as the many thousands of automated bots that launch attacks nonstop wherever they can.&lt;BR /&gt;&lt;BR /&gt;So in my view better to leave it all up to non parametrized scripts and frisk the info being sent to you before you allow it to do anything with your application.</description>
      <pubDate>Sat, 08 Dec 2018 07:47:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65303#M38991</guid>
      <dc:creator>Renaissance</dc:creator>
      <dc:date>2018-12-08T07:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65323#M39010</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_1" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.authorize.net/t5/user/viewprofilepage/user-id/27331" target="_self"&gt;mvkotekar1983&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;It looks as though you are already getting some excellent collaboration on this question, but&amp;nbsp;&lt;/SPAN&gt;I can confirm that parameterized URLs are not permitted for use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Elaine&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:09:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/65323#M39010</guid>
      <dc:creator>ElaineM</dc:creator>
      <dc:date>2018-12-11T06:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67297#M40731</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I figured we can add parameter as a html fragment (#parameter). The Webhooks edit screen has no complaints. The web server should see url's with different hashes as same URL. Problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Will this work?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pilla Gurumurty Patrudu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 08:41:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67297#M40731</guid>
      <dc:creator>pgpatrudu</dc:creator>
      <dc:date>2019-04-08T08:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string - New Ideas</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67298#M40732</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I figured, we could add html fragments (#parameter), after the URL. The edit option of webhooks did not complain. The wb server sees two hashes as the same URL. Problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Will this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pilla Gurumurty Patrudu&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 08:47:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67298#M40732</guid>
      <dc:creator>pgpatrudu</dc:creator>
      <dc:date>2019-04-08T08:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add Webhook URL which is parameterised or query string</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67299#M40733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I figured, we could add html fragments (#parameter), after the URL. The edit option of webhooks did not complain. The wb server sees two hashes as the same URL. Problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Will this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pilla Gurumurty Patrudu&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 08:50:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-add-Webhook-URL-which-is-parameterised-or-query-string/m-p/67299#M40733</guid>
      <dc:creator>pgpatrudu</dc:creator>
      <dc:date>2019-04-08T08:50:16Z</dc:date>
    </item>
  </channel>
</rss>

