<?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: Accept Hosted Response in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68712#M41868</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/32072"&gt;@redherring917&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thought maybe I should be more specific / clearer / more succinct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using iframe&lt;/LI&gt;&lt;LI&gt;hostedPaymentReturnOptions.showReceipt is set to false, therefore no url defined&lt;/LI&gt;&lt;LI&gt;hostedPaymentIFrameCommunicatorUrl.url is defined&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I click on the "Pay" button it changes to a muted "Processing..." and just hangs there like that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems like it should be so simple.&amp;nbsp; Suggestions / hints / advice would be oh so greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;If I set "hostedPaymentReturnOptions.showReceipt" to true, test payments are accepted and upon clicking the button defined by "hostedPaymentReturnOptions.urlText" (aka "Continue") I am redirected to the "hostedPaymentReturnOptions.url", but I don't get any response.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 05:13:45 GMT</pubDate>
    <dc:creator>Steven_O</dc:creator>
    <dc:date>2019-08-12T05:13:45Z</dc:date>
    <item>
      <title>Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68662#M41824</link>
      <description>&lt;P&gt;Hi there.&amp;nbsp; I know this isn't a new topic, but I've browsed the related messages that I could find - honest - and am still struggling.&amp;nbsp; I have "everything" working except I can't seem to access a response for an Accept Hosted transaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me try to boil it down to the nitty gritty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A.&amp;nbsp; If I set "hostedPaymentReturnOptions.showReceipt" to true, test payments are accepted and upon clicking the button defined by "hostedPaymentReturnOptions.urlText" (aka "Continue") I am redirected to the "hostedPaymentReturnOptions.url", but I don't get any response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B.&amp;nbsp; But, if I set&amp;nbsp;"hostedPaymentReturnOptions.showReceipt" to false, the "Processing..." button just stays as such and nothing further ever happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 20:53:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68662#M41824</guid>
      <dc:creator>redherring917</dc:creator>
      <dc:date>2019-08-07T20:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68665#M41827</link>
      <description>&lt;P&gt;To add a bit of detail, with &lt;SPAN&gt;hostedPaymentReturnOptions.showReceipt set to false,&amp;nbsp;&lt;/SPAN&gt;when the iframed Authorize payment form is initially loaded it DOES certainly call my&amp;nbsp;hostedPaymentIFrameCommunicatorUrl page, as evidenced by the following javascript alert:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#action=resizeWindow&amp;amp;width=2418&amp;amp;height=540.313&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But again, clicking the "Pay" button simply leaves the form in a "Processing..." state that never seems to complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my&amp;nbsp;hostedPaymentIFrameCommunicatorUrl page's content is simply that of the generic sample, shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;html xmlns="&lt;A href="http://www.w3.org/1999/xhtml" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;IFrame Communicator&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!--&lt;BR /&gt;To securely communicate between our Accept Hosted form and your web page,&lt;BR /&gt;we need a communicator page which will be hosted on your site alongside&lt;BR /&gt;your checkout/payment page. You can provide the URL of the communicator&lt;BR /&gt;page in your token request, which will allow Authorize.Net to embed the&lt;BR /&gt;communicator page in the payment form, and send JavaScript messaging through&lt;BR /&gt;your communicator page to a listener script on your main page.&lt;/P&gt;&lt;P&gt;This page contains a JavaScript that listens for events from the payment&lt;BR /&gt;form and passes them to an event listener in the main page.&lt;BR /&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/P&gt;&lt;P&gt;function callParentFunction(str) {&lt;BR /&gt;if (str &amp;amp;&amp;amp; str.length &amp;gt; 0 &amp;amp;&amp;amp; window.parent &amp;amp;&amp;amp; window.parent.parent&lt;BR /&gt;&amp;amp;&amp;amp; window.parent.parent.CommunicationHandler &amp;amp;&amp;amp; window.parent.parent.CommunicationHandler.onReceiveCommunication)&lt;BR /&gt;{&lt;BR /&gt;var referrer = document.referrer;&lt;/P&gt;&lt;P&gt;window.parent.parent.CommunicationHandler.onReceiveCommunication({qstr : str , parent : referrer});&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;function receiveMessage(event) {&lt;BR /&gt;if (event &amp;amp;&amp;amp; event.data) {&lt;BR /&gt;callParentFunction(event.data);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (window.addEventListener) {&lt;BR /&gt;window.addEventListener("message", receiveMessage, false);&lt;BR /&gt;} else if (window.attachEvent) {&lt;BR /&gt;window.attachEvent("onmessage", receiveMessage);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (window.location.hash &amp;amp;&amp;amp; window.location.hash.length &amp;gt; 1) {&lt;BR /&gt;alert(window.location.hash);&lt;BR /&gt;callParentFunction(window.location.hash.substring(1));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 21:35:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68665#M41827</guid>
      <dc:creator>redherring917</dc:creator>
      <dc:date>2019-08-07T21:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68683#M41843</link>
      <description>&lt;P&gt;Thought maybe I should be more specific / clearer / more succinct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using iframe&lt;/LI&gt;&lt;LI&gt;hostedPaymentReturnOptions.showReceipt is set to false, therefore no url defined&lt;/LI&gt;&lt;LI&gt;hostedPaymentIFrameCommunicatorUrl.url is defined&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I click on the "Pay" button it changes to a muted "Processing..." and just hangs there like that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems like it should be so simple.&amp;nbsp; Suggestions / hints / advice would be oh so greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:30:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68683#M41843</guid>
      <dc:creator>redherring917</dc:creator>
      <dc:date>2019-08-08T20:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68712#M41868</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/32072"&gt;@redherring917&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thought maybe I should be more specific / clearer / more succinct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using iframe&lt;/LI&gt;&lt;LI&gt;hostedPaymentReturnOptions.showReceipt is set to false, therefore no url defined&lt;/LI&gt;&lt;LI&gt;hostedPaymentIFrameCommunicatorUrl.url is defined&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I click on the "Pay" button it changes to a muted "Processing..." and just hangs there like that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems like it should be so simple.&amp;nbsp; Suggestions / hints / advice would be oh so greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;If I set "hostedPaymentReturnOptions.showReceipt" to true, test payments are accepted and upon clicking the button defined by "hostedPaymentReturnOptions.urlText" (aka "Continue") I am redirected to the "hostedPaymentReturnOptions.url", but I don't get any response.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 05:13:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68712#M41868</guid>
      <dc:creator>Steven_O</dc:creator>
      <dc:date>2019-08-12T05:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68723#M41879</link>
      <description>&lt;P&gt;Nice, useless SPAM link.&amp;nbsp; I'm assuming some admin can ban that user?&amp;nbsp; Certainly seems appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great to get some input on this as I find myself rather stuck at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 16:20:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68723#M41879</guid>
      <dc:creator>redherring917</dc:creator>
      <dc:date>2019-08-12T16:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68755#M41908</link>
      <description>&lt;P&gt;We are seeing similar behavior, except that it's just taking about ninety seconds to 'process' on the sandbox environment. Today is the first day I've been working on it but I was surprised to see it taking so long and certainly hope that's not how things behave on production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks to me like the sample code with&amp;nbsp;&lt;STRONG&gt;showReceipt&lt;/STRONG&gt; set to false will not actually&amp;nbsp;&lt;STRONG&gt;POST&lt;/STRONG&gt; the results anywhere -- the docs are a little ambiguous in suggesting that it will automatically POST to the URL you specify even with&amp;nbsp;&lt;STRONG&gt;showReceipt&lt;/STRONG&gt; false (or at least some of the other threads on the subject) but it looks instead like it just sets the value of #popupToken to the Authorize.net result JSON struct.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 00:37:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68755#M41908</guid>
      <dc:creator>inLeague</dc:creator>
      <dc:date>2019-08-16T00:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68911#M42035</link>
      <description>&lt;P&gt;When I had the "Processing..." sit there I opened Chrome Developer Tools, clicked the Console tab, and it informed me that I had a JavaScript bug. Another thing you might try is the "console.log('MyFunction() is a executing');" route. I'm guessing you've already tried these, but just in case...&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 08:58:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68911#M42035</guid>
      <dc:creator>bretmaverick999</dc:creator>
      <dc:date>2019-08-30T08:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68915#M42039</link>
      <description>&lt;P&gt;Thanks for your reply.&amp;nbsp; It was in fact a javascript bug on my end that Authorize was able to direct me to.&amp;nbsp; I felt pretty silly when that ended up being the case, but somehow I never made the connection before they enlightened me :|&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:08:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Response/m-p/68915#M42039</guid>
      <dc:creator>redherring917</dc:creator>
      <dc:date>2019-08-30T13:08:14Z</dc:date>
    </item>
  </channel>
</rss>

