<?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: Help with Accept Hosted in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56757#M31537</link>
    <description>&lt;P&gt;In a nutshell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. If/when you pass a URL for a continue or cancel button, the form creates those buttons as just links. When the customer clicks on those in the browser, that just creates a GET request to that URL on your site. No parameters are passed to you application through that process, unless you specifically embedded data in the continue or cancel URLs that you passed to us when you requested the token. For example, if you sent urls of "&lt;A href="http://mysite.com/session1234/success" target="_blank"&gt;http://mysite.com/session1234/success&lt;/A&gt;" and "&lt;SPAN&gt;&lt;A href="http://mysite.com/session1234/cancel" target="_blank"&gt;http://mysite.com/session1234/cancel&lt;/A&gt;", that would provide your server with a session ID and the disposition of the transaction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When you host the form in an IFrame, you have the option of passing a URL to a page with a script in it. The form will embed that "IFrame Communicator" page inside the form so that it can send stuff to it. Then, since your IFrame Communicator page would be hosted on the same domain as your page that called the form in the first place, your Communicator page can send data back to that "grandparent" page about the results of the transaction, allowing that grandparent page to take action. All of this is necessary to get around browser limitations on cross-site scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What the form is sending to the Communicator page is not documented in the Accept Hosted documentation yet, but we're trying to get it in there ASAP.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2017 17:31:24 GMT</pubDate>
    <dc:creator>Aaron</dc:creator>
    <dc:date>2017-01-23T17:31:24Z</dc:date>
    <item>
      <title>Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56726#M31509</link>
      <description>&lt;P&gt;After taking a breather once the recurring CIM API was implemented and working, I'm now readdressing the SIM replacement GetHostedPaymentPage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As with the other APIs, I started with the sample Java class for the specific API.&amp;nbsp; I added the options I needed as specified in the API doc.&amp;nbsp; But yet again, I'm getting that extremely 'useful' error message: "An error occurred".&amp;nbsp; This time it gives me an E00001 which is similarly useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I finally started removing options here and there and realized that i doesn't like my IFrameCommunicator option.&amp;nbsp; If I remove that option, the API succeeds.&amp;nbsp; If I add it back in, it fails.&amp;nbsp; I've tried to verify spelling, etc.&amp;nbsp; I can't see anything obvious.&amp;nbsp; This is the same IFrameCommunicator that works in the CIM APIs.&amp;nbsp; Here is the log dump of the failing API.&amp;nbsp; Please let me know what I have wrong in this.&amp;nbsp; (BTW... I'm using the actual production site now with my real apiLogin, not the sandbox).&lt;/P&gt;
&lt;PRE&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;lt;getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;merchantAuthentication&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;--------&amp;lt;/name&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;transactionKey&amp;gt;----------------&amp;lt;/transactionKey&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/merchantAuthentication&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;clientId&amp;gt;sdk-java-1.9.2&amp;lt;/clientId&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;transactionRequest&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;amount&amp;gt;1.00&amp;lt;/amount&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/transactionRequest&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hostedPaymentSettings&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentButtonOptions&amp;lt;/settingName&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;{"text": "Pay"}&amp;lt;/settingValue&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentOrderOptions&amp;lt;/settingName&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;{"show": true}&amp;lt;/settingValue&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentShippingAddressOptions&amp;lt;/settingName&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;{"show": false, "required": false}&amp;lt;/settingValue&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentIFrameCommunicatorUrl&amp;lt;/settingName&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;https://handlemyleads.com/payment/jsp/guest/iCommunicator.jsp&amp;lt;/settingValue&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingName&amp;gt;hostedPaymentReturnOptions&amp;lt;/settingName&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;settingValue&amp;gt;{"showReceipt" : false, "url":"https://handlemyleads.com/jsp/guest/payReceipt.jsp"}&amp;lt;/settingValue&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/setting&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/hostedPaymentSettings&amp;gt;[\n]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:64 - &amp;gt;&amp;gt; "&amp;lt;/getHostedPaymentPageRequest&amp;gt;[\n]"&lt;BR /&gt;1a dataSourceName: jdbc/cis&lt;BR /&gt;1a dataSourceName: jdbc/cis&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "HTTP/1.1 200 OK[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Cache-Control: private[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Content-Type: application/xml; charset=utf-8[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Server: Microsoft-IIS/7.5[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Access-Control-Allow-Origin: *[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Access-Control-Allow-Methods: PUT,OPTIONS,POST,GET[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Access-Control-Allow-Headers: x-requested-with,cache-control,content-type,origin,method,SOAPAction[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "X-AspNet-Version: 4.0.30319[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "X-Powered-By: ASP.NET[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "X-Cnection: close[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Content-Length: 405[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Date: Fri, 20 Jan 2017 01:04:37 GMT[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "Connection: keep-alive[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "[EOL]"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG DefaultClientConnection:229 - Receiving response: HTTP/1.1 200 OK&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:232 - &amp;lt;&amp;lt; HTTP/1.1 200 OK&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Cache-Control: private&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Content-Type: application/xml; charset=utf-8&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Server: Microsoft-IIS/7.5&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Access-Control-Allow-Origin: *&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Access-Control-Allow-Methods: PUT,OPTIONS,POST,GET&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Access-Control-Allow-Headers: x-requested-with,cache-control,content-type,origin,method,SOAPAction&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; X-AspNet-Version: 4.0.30319&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; X-Powered-By: ASP.NET&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; X-Cnection: close&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Content-Length: 405&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Date: Fri, 20 Jan 2017 01:04:37 GMT&lt;BR /&gt;2017-01-19 19:04:37 DEBUG headers:235 - &amp;lt;&amp;lt; Connection: keep-alive&lt;BR /&gt;2017-01-19 19:04:37 DEBUG DefaultHttpClient:540 - Connection can be kept alive indefinitely&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "[0xef][0xbb][0xbf]&amp;lt;"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG wire:78 - &amp;lt;&amp;lt; "?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;getHostedPaymentPageResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00001&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;An error occurred during processing. Please try again.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/getHostedPaymentPageResponse&amp;gt;"&lt;BR /&gt;2017-01-19 19:04:37 DEBUG SingleClientConnManager:250 - Releasing connection org.apache.http.impl.conn.SingleClientConnManager$ConnAdapter@6f2348&lt;BR /&gt;2017-01-19 19:04:37 DEBUG HttpCallTask:14 - Raw Response: '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;getHostedPaymentPageResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00001&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;An error occurred during processing. Please try again.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/getHostedPaymentPageResponse&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Jan 2017 18:12:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56726#M31509</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-20T18:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56732#M31512</link>
      <description>&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankfully, this should be an easy one. (But, we'll see...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The format for all of the Hosted Form Parameter Settings is to send the values into our API as JSON objects. I don't&amp;nbsp;have the Java SDK up in front of me right now, so I don't know if you're just setting properties and it's building the JSON appropriately, or if you're passing whole JSON objects. If it's building the JSON for you, you'd expect that if you pass it a URL, it would format that URL appropriately. However, from your logs, it's definitely not doing that. What it should be sending is something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;settingName&amp;gt;hostedPaymentIFrameCommunicatorUrl&amp;lt;/settingName&amp;gt;
&amp;lt;settingValue&amp;gt;{"url": "https://handlemyleads.com/payment/jsp/guest/iCommunicator.jsp"}&amp;lt;/settingValue&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you pass the whole JSON object ( {"url": "&lt;A href="https://handlemyleads.com/payment/jsp/guest/iCommunicator.jsp" target="_blank"&gt;https://handlemyleads.com/payment/jsp/guest/iCommunicator.jsp&lt;/A&gt;"} ) and see if that fixes it? If so, we'll move on to figuring out if that's a problem with the SDK or just the effect&amp;nbsp;of our (poor but rapidly improving) documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 18:30:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56732#M31512</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-20T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56734#M31514</link>
      <description>&lt;P&gt;That was it.... I can't believe I missed that.&amp;nbsp; Thanks so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing I can beg for, though.... How about an error message that says "option value is not a JSON object"?&amp;nbsp; (Please?? for people like me that are still clueless.... :-)&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for all of your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 18:54:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56734#M31514</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-20T18:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56740#M31520</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20939"&gt;@MalcolmEnt1&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;One thing I can beg for, though.... How about an error message that says "option value is not a JSON object"?&amp;nbsp; (Please?? for people like me that are still clueless.... :-)&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added to the list!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 22:34:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56740#M31520</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-20T22:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56743#M31523</link>
      <description>&lt;P&gt;One more question that is a bit more high level philosophy.&amp;nbsp; What is the recommended way on the Accept Hosted page for being notified about success/failure/authCode, etc for the transaction itself?&amp;nbsp; It appears that the relay response 'backdoor' callback I had in SIM is no longer in use on this.&amp;nbsp; I guess one option is to provide my own payReceipt and cancelText urls.&amp;nbsp; But I can't find any documentation on what, if any, parameters, such as authCode, are passed on the request for those URLs.&amp;nbsp; And it doesn't appear that anything other than 'continue' is passed to the IFrameCommunicator unless I'm missing something there as well.&amp;nbsp; Somehow I need to know if the payment went through so I can log the payment on the user's account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the 'right' way to be notified of success/failure of the payment?&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;Jerry&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 23:30:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56743#M31523</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-20T23:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56744#M31524</link>
      <description>&lt;P&gt;One more question.... What is the equivalent of SIM's TEST_MODE?&amp;nbsp; I see a couple of profile APIs that have a ValidationMode where TEST_MODE is one of the options.&amp;nbsp; But it is definitely not pervasive.&amp;nbsp; I don't want to have to toggle back to the sandbox just to test something now that I'm in production mode since it won't have the same customer profiles, etc that I need.&amp;nbsp; What is the recommended way to do a 'TEST_MODE' transaction both in CIM and in the AcceptHosted page?&amp;nbsp; And does it basically work the same as SIM's test mode?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:20:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56744#M31524</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-21T01:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56745#M31525</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20939"&gt;@MalcolmEnt1&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two parts to the answer. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, when creating &lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile" target="_self"&gt;customer profiles&lt;/A&gt;, you can set validationMode to liveMode and the gateway will perform $0 transaction to validate the card is good otherwise a customer profile is not created. &amp;nbsp;If you set validationMode to test mode, the gateway will only perform some basic calculations to ensure the card number is valid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But don't confuse this with setting your gateway to test mode or including test mode as true in the request. &amp;nbsp;When you do this, you instruct the gateway to only validate credentials. &amp;nbsp;No transaction is attempted and there is nothing saved at the gateway. &amp;nbsp; We never recommend using test mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sandbox a test system that is separate from production.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RIchard&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 02:40:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56745#M31525</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-01-21T02:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56752#M31532</link>
      <description>&lt;P&gt;Thanks for the test mode explanation.&amp;nbsp; Any help on the previous question about how to know whether the accepHosted transaction was approved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 00:27:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56752#M31532</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-23T00:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56757#M31537</link>
      <description>&lt;P&gt;In a nutshell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. If/when you pass a URL for a continue or cancel button, the form creates those buttons as just links. When the customer clicks on those in the browser, that just creates a GET request to that URL on your site. No parameters are passed to you application through that process, unless you specifically embedded data in the continue or cancel URLs that you passed to us when you requested the token. For example, if you sent urls of "&lt;A href="http://mysite.com/session1234/success" target="_blank"&gt;http://mysite.com/session1234/success&lt;/A&gt;" and "&lt;SPAN&gt;&lt;A href="http://mysite.com/session1234/cancel" target="_blank"&gt;http://mysite.com/session1234/cancel&lt;/A&gt;", that would provide your server with a session ID and the disposition of the transaction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When you host the form in an IFrame, you have the option of passing a URL to a page with a script in it. The form will embed that "IFrame Communicator" page inside the form so that it can send stuff to it. Then, since your IFrame Communicator page would be hosted on the same domain as your page that called the form in the first place, your Communicator page can send data back to that "grandparent" page about the results of the transaction, allowing that grandparent page to take action. All of this is necessary to get around browser limitations on cross-site scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What the form is sending to the Communicator page is not documented in the Accept Hosted documentation yet, but we're trying to get it in there ASAP.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:31:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56757#M31537</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-23T17:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56759#M31539</link>
      <description>&lt;P&gt;An excerpt from a newer draft of the documentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Displaying the Form&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The hosted form is designed so that you have the freedom to integrate it into your site in almost any way. You can embed it as an IFrame into your existing page. You can use a light-box layout, in which the form pops up in front of the rest of your site, but not in a new window. Finally, you can use the full window by redirecting the browser to our form URL. Whatever method is used, the form is called by passing the received token to our system in an HTTP form POST. The only form field that must be included in that form is an input field named "token". Insert the complete token that you've received back from getHostedPaymentPageRequest as the value of that field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FORM POST URLS:&lt;/P&gt;&lt;P&gt;Sandbox: &lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Production: &lt;A href="https://accept.authorize.net/payment/payment" target="_blank"&gt;https://accept.authorize.net/payment/payment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Our &lt;A href="https://github.com/AuthorizeNet/accept-sample-app" target="_blank"&gt;sample application on GitHub&lt;/A&gt; shows examples of how to present the form in different modes, including examples of how to open the hosted form in a lightbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transaction Response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The payment form will automatically validate the input provided by the customer and provide the customer the opportunity to change it before submitting the payment for processing. In the event of a payment decline or error, the customer remains on the form with the opportunity to revise their input and try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the transaction processing is successful, the customer is presented with an optional receipt page, and a Continue button which returns control to the merchant’s site. Additionally, the customer may optionally be presented with a Cancel button to return to the merchant’s site before the transaction is processed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the customer returns to the merchant’s site, the information passed to the merchant depends on the method used to integrate the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFRAME/LIGHTBOX METHOD&lt;/P&gt;&lt;P&gt;For security reasons, web browsers do not allow JavaScript communication between two pages that are hosted on different domains, even if one is embedded within another. Therefore, our hosted form cannot directly provide information to the page that encapsulates it.&lt;/P&gt;&lt;P&gt;However, it is beneficial to provide some small amount of information indirectly through a third page. You can embed our hosted form in an IFrame, which enables us to embed your IFrameCommunicator page inside our hosted form. This channel of communication allows us to send messages to your IFrameCommunicator page. As long as your communicator page is hosted on the same domain as your main page, it can communicate with your main page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This channel of communication is used to pass a few basic messages to a listener script running on your page that calls the form:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ideal height and width of the window - enables you to resize the frame and avoid any scrollbars from appearing.&lt;/LI&gt;&lt;LI&gt;Request Succeeded - returned when the transaction is completed at Authorize.Net. Transaction response parameters (such as transaction ID) are returned.&lt;/LI&gt;&lt;LI&gt;Request Cancelled - returned when the merchant cancels the hosted form.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note: If you plan to use IFrame, you must send the hostedPaymentIFrameCommunicatorUrl parameter in the getHostedPaymentPageRequestmethod.&lt;/P&gt;&lt;P&gt;Note: You must use HTTPS when using IFrameCommunicator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REDIRECT METHOD&lt;/P&gt;&lt;P&gt;When not using an IFrame, the continue/return URL and cancel URL create buttons that when clicked cause the browser to perform a simple GET request to that URL. No other information about the transaction is provided directly. When using the redirect method, an Authorize.Net generated receipt will be shown and cannot be disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALL METHODS&lt;/P&gt;&lt;P&gt;With any of the form integration methods, information specific to the customer can be passed back to the merchant’s server by embedding it in the continue/return URL or the cancel URL. By embedding information into the URL that is provided in the token request, the merchant server can identify the specific customer and transaction that has been processed when the customer returns. Any name-value pairs embedded in the URL should be URL-encoded to ensure correct processing in the form request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, developers can register for Webhooks to receive real-time notifications when transactions are either declined or approved. Using Webhooks notifications, a developer would still be notified if a transaction was processed but the customer closed the browser before following the return URL.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:08:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56759#M31539</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-23T18:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56764#M31543</link>
      <description>&lt;P&gt;Thanks, Aaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving a message in my popup javascript via the IFrameCommunicator when a transaction is approved.&amp;nbsp; Turns out that it's a set of JSON objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;action=transactResponse&amp;amp;response={"accountType":"MasterCard","accountNumber":"XXXX4010","transId":"xxxxxx","authorization":"xxxxx","billTo":{"firstName":"Jerry","lastName":"Malcolm","address":"13016 xxxxxxxxx","city":"Austin","state":"Tx","zip":"787xx"},"shipTo":{},"totalAmount":"1.00","dateTime":"1/23/2017 7:33:34 PM"}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Up to now, I have not been working with JSON other than the trivial coding of settings in some of the requests.&amp;nbsp; I know I can go find a JSON package that likely will parse this response into XML or give me an easy way to pull values out of it.&amp;nbsp; But being the lazy person I am... I suspect there might be some utility class already available somewhere in the Authnet API code that can process this JSON string and make it easier to retrieve the data.&amp;nbsp; Or am I on my own to download a JSON parser?&amp;nbsp; Not complaining... but with all of the helper code provided to send/receive API requests, it just seems odd that there would not be anything to assist with this response (??).&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 23:37:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56764#M31543</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-23T23:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56765#M31544</link>
      <description>&lt;P&gt;If you're looking to process it within the script, JavaScript has a built-in&amp;nbsp;JSON.parse() function to convert the string into an object. If you're passing the whole JSON object back to the application on the server and trying to get the application to deal with it, then you'll need a parser library in your application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might be easiest to let JavaScript turn it into an object, and then deliver that object to your application in whatever format your application wants.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 23:51:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56765#M31544</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-23T23:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56767#M31546</link>
      <description>&lt;P&gt;I'll just let javascript handle it for me and pass the extracted parms to the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that the docs for this are in progress.&amp;nbsp; Are there any docs yet that define all the possibilities I might get on this response?&amp;nbsp; e.g. if the card is expired, what fields is the response object going to contain?&amp;nbsp; Since I'm kinda 'reverse engineering' from the one 'approved' transaction I received, I'm afraid there are going to be some totally different response objects come in that I want to be sure to handle as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 00:06:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56767#M31546</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-24T00:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56768#M31547</link>
      <description>&lt;P&gt;Nothing yet, I'm afraid. It's&amp;nbsp;&lt;EM&gt;extremely&lt;/EM&gt; high priority for me, though, so I hope to have something sooner rather than later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, feel free to use our &lt;A href="https://developer.authorize.net/hello_world/testing_guide/" target="_self"&gt;testing guide&lt;/A&gt; to simulate whatever responses you want to know about and see how the responses differ. I hope they don't differ in format, only in value, but if you see anything funky, please let me know.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 00:10:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56768#M31547</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-24T00:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56771#M31550</link>
      <description>&lt;P&gt;It's going to be difficult for me to go back to the sandbox.&amp;nbsp; I've only got one instance running, and it's now live with the CIM functionality.&amp;nbsp; I can't take it down and move back to the sandbox.&amp;nbsp; I'd have to create a completely separate parallel instance to test in the sandbox.&amp;nbsp; Therefore, I think I'll just let it ride for a bit and handle 'accepted' transactions and just fail on anything that doesn't look like it was accepted.&amp;nbsp; I'll clean it up once your docs are all available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That does bring up one additional question... In every API in CIM I have the standard line of code:&lt;/P&gt;&lt;PRE&gt;if (response.getMessages().getResultCode() == MessageTypeEnum.OK)&lt;/PRE&gt;&lt;P&gt;There is not a 'messages' section in the JSON response block I'm getting on the acceptHosted and therefore no resultCode.&amp;nbsp;&amp;nbsp; I guess I can possibly just look at one of the other fields in the response, such as "authorization", and somehow determine from that whether it was accepted or rejected.&amp;nbsp; But without a little guidance, I'm a bit nervous.&amp;nbsp; Is there some field in what I'm getting that I can safely rely on to always tell me "OK" vs. "ERROR"?&amp;nbsp; And if so, what value do I look for to determine the transaction result?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 01:15:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56771#M31550</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-24T01:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56772#M31551</link>
      <description>&lt;P&gt;Aaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know you are thinking 'when will this guy go away????....' :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It just occurred to me after sending the last post that I might be overthinking this.&amp;nbsp; Is it the case that I will NEVER get this message unless the transaction is approved?&amp;nbsp; i.e. you just put any error messages up in the IFrame window until/unless the transaction is approved and then notify me, and therefore I simply don't need to handle error messages, etc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'm wrong here and I can still get error messages as well via this IFrameCommunicator process, then ignore above, and the question in my previous post is still pending.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 01:24:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56772#M31551</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-24T01:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56773#M31552</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20939"&gt;@MalcolmEnt1&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it the case that I will NEVER get this message unless the transaction is approved?&amp;nbsp; i.e. you just put any error messages up in the IFrame window until/unless the transaction is approved and then notify me, and therefore I simply don't need to handle error messages, etc?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is my current assumption.&amp;nbsp;There's really three scenarios:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Customer tries transaction and it fails.&lt;/LI&gt;&lt;LI&gt;Customer tries transaction and it succeeds.&lt;/LI&gt;&lt;LI&gt;Customer cancels transaction.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Transaction failures are handled in the form, giving the customer the ability to correct and retry without having to return to the merchant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Transaction success... well, you've seen what happens in that case.&lt;/P&gt;&lt;P&gt;Customer cancels - If the customer clicks on the cancel button and you have a cancel URL, you've got some notification there. If the customer just closes the browser window and walks away, well, there's very little we can do about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given all this, I'm guessing what you're getting from the script is the only thing you get since it's the only scenario where that kind of notification is really needed. I still plan to fully test it myself to be sure, though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20939"&gt;@MalcolmEnt1&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know you are thinking 'when will this guy go away????....' :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ha ha! No worries!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, it's a great help to have people point out where things are confusing so that we can improve it for anyone else.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 02:18:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56773#M31552</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-24T02:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56780#M31559</link>
      <description>&lt;P&gt;I'm not getting any iFrameCommunicator messages if Cancel is pressed on the AcceptHosted popup.&amp;nbsp; So I have no way to close the popup window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that I only get the accept transaction message we were discussing yesterday if I set "showReceipt" setting to 'false'.&amp;nbsp; So I suspect there is some other flag I need to turn on or off to start receiving the cancel message (??)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting a resize message.&amp;nbsp; So I know the iFrameCommunicator is functioning.&amp;nbsp; However, when the window resizes, the buttons at the bottom are half cut off.&amp;nbsp; That's not as urgent an issue as the cancel message (or lack thereof) issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 21:45:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56780#M31559</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-24T21:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56794#M31572</link>
      <description>&lt;P&gt;Any update on this latest question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 20:22:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56794#M31572</guid>
      <dc:creator>MalcolmEnt1</dc:creator>
      <dc:date>2017-01-25T20:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56795#M31573</link>
      <description>&lt;P&gt;Sorry, no. Still testing on my end.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 20:52:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-Accept-Hosted/m-p/56795#M31573</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-25T20:52:51Z</dc:date>
    </item>
  </channel>
</rss>

