<?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: Passing response code via JavaScript in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39103#M21337</link>
    <description>&lt;P&gt;Right, that's not really my question. So I check for a $_POST of response code on my relay response page. If it's there I use JavaScript to go to mypage.php?response=1 (or whatever the response code is and pass along a few other variables in the query string).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On mypage.php I read the query string and update the payment status on my end. What's to stop a savvy user from manipulating the query string on mypage.php manually and changing their paymentstatus?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Granted it's not likely, but there are some savvy hackers out there. And the possibilty makes me nervous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm wondering if anyone else is somehow masking or encrypting their querystring params. Or are you using some completely different means to pass this sort of data?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2014 18:51:14 GMT</pubDate>
    <dc:creator>VFHwebdev145</dc:creator>
    <dc:date>2014-02-11T18:51:14Z</dc:date>
    <item>
      <title>Passing response code via JavaScript</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39091#M21331</link>
      <description>&lt;P&gt;Just looking for some advice on best practices for passing the response code from Authorize.net's .dll response to my page via JavaScript.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll need to update payment status on my end depending on that response code, so I'm a little leary of just passing it via query string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Theoretically someone could just modify the query string and update their status without paying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's considered best practice here? Do you encode the query vars somehow?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 16:44:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39091#M21331</guid>
      <dc:creator>VFHwebdev145</dc:creator>
      <dc:date>2014-02-11T16:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Passing response code via JavaScript</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39093#M21332</link>
      <description>&lt;P&gt;Here my 2 cents, when authorize.net call your relay response page, saved all the response post data you need to your database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, on the relay page, do a javascript script redirect to your website order confirmation page with a unique key(transactionID from the transaction plus order number? incase the transaction fail without returning a transactionID) on the url that is not sequential, that you can use to recall the info that your saved on the relay response url page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, can't use the sessionid because the relay page is running on authorize.net. the sessionid on your website would be different.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 16:59:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39093#M21332</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-02-11T16:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Passing response code via JavaScript</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39097#M21334</link>
      <description>&lt;P&gt;Unfortunately that won't work. I'm working with a third party content management system and I need some php libraries to be present before processing the response code so that I can interact with the CMS. Because I can't load the libraries into the relay response page, I have to redirect and pass along the data first.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 17:15:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39097#M21334</guid>
      <dc:creator>VFHwebdev145</dc:creator>
      <dc:date>2014-02-11T17:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing response code via JavaScript</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39101#M21336</link>
      <description>&lt;P&gt;Other suggestion would be to check for error(no transactionID) on the relay response page. If there is a transctionID then pass that with the javascript redirect, then use &lt;A target="_blank" href="http://developer.authorize.net/api/transaction_details/"&gt;http://developer.authorize.net/api/transaction_details/&lt;/A&gt; to get the response info.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 17:31:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39101#M21336</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-02-11T17:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Passing response code via JavaScript</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39103#M21337</link>
      <description>&lt;P&gt;Right, that's not really my question. So I check for a $_POST of response code on my relay response page. If it's there I use JavaScript to go to mypage.php?response=1 (or whatever the response code is and pass along a few other variables in the query string).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On mypage.php I read the query string and update the payment status on my end. What's to stop a savvy user from manipulating the query string on mypage.php manually and changing their paymentstatus?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Granted it's not likely, but there are some savvy hackers out there. And the possibilty makes me nervous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm wondering if anyone else is somehow masking or encrypting their querystring params. Or are you using some completely different means to pass this sort of data?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:51:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-response-code-via-JavaScript/m-p/39103#M21337</guid>
      <dc:creator>VFHwebdev145</dc:creator>
      <dc:date>2014-02-11T18:51:14Z</dc:date>
    </item>
  </channel>
</rss>

