<?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: Question: Can I get a response from getHostedPaymentPageRequest to my redirect page? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-Can-I-get-a-response-from-getHostedPaymentPageRequest/m-p/57939#M32621</link>
    <description>&lt;P&gt;If you are using the ifame method and setting the&amp;nbsp;iFrameCommunicatorURL, when you request a token with :&lt;/P&gt;&lt;PRE&gt;&amp;lt;setting&amp;gt;
&amp;lt;settingName&amp;gt;hostedPaymentIFrameCommunicatorUrl&amp;lt;/settingName&amp;gt;
&amp;lt;settingValue&amp;gt;{"url":"https://yourstore.com/iCommunicator.html"}&amp;lt;/settingValue&amp;gt;
&amp;lt;/setting&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;you can listen for the "transactResponse" messages in your main page and display it with JavaScript ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script&amp;gt;
var transResponse = JSON.parse(params['response']);
$("#HPConfirmation p").html($"+transResponse.totalAmount+"&amp;lt;/b&amp;gt; for &amp;lt;b&amp;gt;"+transResponse.orderDescription+"&amp;lt;/b&amp;gt; has been Processed Successfully on &amp;lt;b&amp;gt;"+transResponse.dateTime+"&amp;lt;/b&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Generated Order Invoice Number is : &amp;lt;b&amp;gt;"+transResponse.orderInvoiceNumber+"&amp;lt;/b&amp;gt;);
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 15:09:29 GMT</pubDate>
    <dc:creator>NexusSoftware</dc:creator>
    <dc:date>2017-05-03T15:09:29Z</dc:date>
    <item>
      <title>Question: Can I get a response from getHostedPaymentPageRequest to my redirect page?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-Can-I-get-a-response-from-getHostedPaymentPageRequest/m-p/57885#M32567</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implemented Hosted Payment Page for our company's testing website.&lt;BR /&gt;&lt;BR /&gt;Using the API reference page (&lt;A href="https://developer.authorize.net/api/reference/index.html#payment-transactions" target="_blank"&gt;https://developer.authorize.net/api/reference/index.html#payment-transactions&lt;/A&gt;); I am sending all the customer, billing, shipping information and the transaction goes through successfully, but I am struggling to get a response from authorize.net.&lt;BR /&gt;&lt;BR /&gt;I would like to know how it could be done. Ideally I would like to get a POST/GET request will all the information about the transaction on my redirect page, regardless whether it succeeds or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 10:28:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-Can-I-get-a-response-from-getHostedPaymentPageRequest/m-p/57885#M32567</guid>
      <dc:creator>albert</dc:creator>
      <dc:date>2017-05-02T10:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Can I get a response from getHostedPaymentPageRequest to my redirect page?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-Can-I-get-a-response-from-getHostedPaymentPageRequest/m-p/57939#M32621</link>
      <description>&lt;P&gt;If you are using the ifame method and setting the&amp;nbsp;iFrameCommunicatorURL, when you request a token with :&lt;/P&gt;&lt;PRE&gt;&amp;lt;setting&amp;gt;
&amp;lt;settingName&amp;gt;hostedPaymentIFrameCommunicatorUrl&amp;lt;/settingName&amp;gt;
&amp;lt;settingValue&amp;gt;{"url":"https://yourstore.com/iCommunicator.html"}&amp;lt;/settingValue&amp;gt;
&amp;lt;/setting&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;you can listen for the "transactResponse" messages in your main page and display it with JavaScript ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script&amp;gt;
var transResponse = JSON.parse(params['response']);
$("#HPConfirmation p").html($"+transResponse.totalAmount+"&amp;lt;/b&amp;gt; for &amp;lt;b&amp;gt;"+transResponse.orderDescription+"&amp;lt;/b&amp;gt; has been Processed Successfully on &amp;lt;b&amp;gt;"+transResponse.dateTime+"&amp;lt;/b&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Generated Order Invoice Number is : &amp;lt;b&amp;gt;"+transResponse.orderInvoiceNumber+"&amp;lt;/b&amp;gt;);
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 15:09:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-Can-I-get-a-response-from-getHostedPaymentPageRequest/m-p/57939#M32621</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-05-03T15:09:29Z</dc:date>
    </item>
  </channel>
</rss>

