<?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 Preserve asp.net Session Data on Authorize.NET webhook response in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Preserve-asp-net-Session-Data-on-Authorize-NET-webhook-response/m-p/62404#M36734</link>
    <description>&lt;P&gt;I am trying to upgrade Authorize.NET from CIM to Accept Hosted, and stuck on this problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Accept Hosted&amp;nbsp;&lt;/SPAN&gt;needs 2 urls for the configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Return URL, which redirects the user to home page, after a successful payment.&lt;/LI&gt;&lt;LI&gt;A&lt;SPAN&gt;&amp;nbsp;Webhook&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;url, to which the Authorization.Net webhook will post transID.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;On redirect, I need to access application specific payment details, which are stored in the current session.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Note: These are not the authorize.net payment details, I can get them from webhook-&amp;gt;transID-&amp;gt;GetTransactionDetails&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In CIM, the redirect url contained the Payment information from AuthorizeNET(transID, etc.), as well as the app-specific session Payment information. So I was able to process both of them in a single handler, which was called on the redirect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However in the new api, when a webhook sends post data on my webhook URL, it does it asynchronously, using a different session than the session on which payment was made. So when I receive transID and subsequent payment details from AuthorizeNET, it has no idea about the session dependent application specific payment details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, how can I preserve the session-specific data, after I receive the Authorize.Net's payment details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar problem? What's the best approach to fix this?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 20:01:01 GMT</pubDate>
    <dc:creator>akshay03</dc:creator>
    <dc:date>2018-03-29T20:01:01Z</dc:date>
    <item>
      <title>Preserve asp.net Session Data on Authorize.NET webhook response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Preserve-asp-net-Session-Data-on-Authorize-NET-webhook-response/m-p/62404#M36734</link>
      <description>&lt;P&gt;I am trying to upgrade Authorize.NET from CIM to Accept Hosted, and stuck on this problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Accept Hosted&amp;nbsp;&lt;/SPAN&gt;needs 2 urls for the configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Return URL, which redirects the user to home page, after a successful payment.&lt;/LI&gt;&lt;LI&gt;A&lt;SPAN&gt;&amp;nbsp;Webhook&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;url, to which the Authorization.Net webhook will post transID.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;On redirect, I need to access application specific payment details, which are stored in the current session.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Note: These are not the authorize.net payment details, I can get them from webhook-&amp;gt;transID-&amp;gt;GetTransactionDetails&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In CIM, the redirect url contained the Payment information from AuthorizeNET(transID, etc.), as well as the app-specific session Payment information. So I was able to process both of them in a single handler, which was called on the redirect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However in the new api, when a webhook sends post data on my webhook URL, it does it asynchronously, using a different session than the session on which payment was made. So when I receive transID and subsequent payment details from AuthorizeNET, it has no idea about the session dependent application specific payment details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, how can I preserve the session-specific data, after I receive the Authorize.Net's payment details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar problem? What's the best approach to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 20:01:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Preserve-asp-net-Session-Data-on-Authorize-NET-webhook-response/m-p/62404#M36734</guid>
      <dc:creator>akshay03</dc:creator>
      <dc:date>2018-03-29T20:01:01Z</dc:date>
    </item>
  </channel>
</rss>

