<?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: Testing locally AcceptHosted in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88541#M55793</link>
    <description>&lt;P&gt;Oh, interestingly, it didn't occur to me to utilize the loopback IP address instead of localhost. It's a clever discovery, although it seems a bit absurd that localhost is restricted. However, I did encounter some challenges with the iFrame closure when it couldn't fetch the iFrameCommunicator.html, especially if you're utilizing it. It might be related to the React library I was working with, so just a heads-up on that potential issue.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jan 2024 07:23:22 GMT</pubDate>
    <dc:creator>jhoney12</dc:creator>
    <dc:date>2024-01-06T07:23:22Z</dc:date>
    <item>
      <title>Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88517#M55777</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How does one test AcceptHosted solution locally?&lt;/P&gt;&lt;P&gt;I am having problems passing url with `localhost` in it to Authorize.Net whether inside &lt;FONT face="andale mono,times"&gt;hostedPaymentReturnOptions&lt;/FONT&gt;, or&amp;nbsp;&lt;FONT face="andale mono,times"&gt;hostedPaymentIFrameCommunicatorUrl&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;the back responds with&amp;nbsp;&lt;SPAN&gt;E00013:Invalid Setting Value. hostedPaymentIFrameCommunicatorUrlurl: must begin with&amp;nbsp;&lt;/SPAN&gt;https://&lt;/P&gt;&lt;P&gt;The message is misleading, because it doesn't care about https. It does care about localhost.&lt;/P&gt;&lt;P&gt;I guess I could edit hosts file and setup a fake domain. But that's not a great solution.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 11:49:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88517#M55777</guid>
      <dc:creator>tomtichy410</dc:creator>
      <dc:date>2024-01-04T11:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88523#M55779</link>
      <description>&lt;P&gt;It doesn't support 'localhost' anymore as far as I know. I ended up doing what you did with fake domain. If you want to test the iFrameCommunicator with it, then it's better to actually use a static hosting service like S3 with AWS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:02:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88523#M55779</guid>
      <dc:creator>JeffGTech</dc:creator>
      <dc:date>2024-01-04T15:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88530#M55784</link>
      <description>&lt;P&gt;Thanks. Fake domain brought a host of other issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I ended up just using &lt;A href="http://127.0.0.1:3000" target="_blank"&gt;http://127.0.0.1:3000 &lt;/A&gt;for the URL. Because that passes aNet's url validation. &lt;LI-EMOJI id="lia_face-with-tears-of-joy" title=":face_with_tears_of_joy:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sarcasm&amp;gt;Great developer experience&amp;lt;/sarcasm&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 20:13:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88530#M55784</guid>
      <dc:creator>tomtichy410</dc:creator>
      <dc:date>2024-01-04T20:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88533#M55787</link>
      <description>&lt;P&gt;Haha, I didn't think of using just the loopback IP address instead of localhost. Good find, but really silly that localhost is blocked. Be aware though, that I ran into some issues with the iFrame closing properly when it can't fetch the iFrameCommunicator.html if you're using it. Probably just the React lib I was using, but something to watch out for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 00:00:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88533#M55787</guid>
      <dc:creator>JeffGTech</dc:creator>
      <dc:date>2024-01-05T00:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88541#M55793</link>
      <description>&lt;P&gt;Oh, interestingly, it didn't occur to me to utilize the loopback IP address instead of localhost. It's a clever discovery, although it seems a bit absurd that localhost is restricted. However, I did encounter some challenges with the iFrame closure when it couldn't fetch the iFrameCommunicator.html, especially if you're utilizing it. It might be related to the React library I was working with, so just a heads-up on that potential issue.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 07:23:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88541#M55793</guid>
      <dc:creator>jhoney12</dc:creator>
      <dc:date>2024-01-06T07:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88569#M55809</link>
      <description>&lt;P&gt;Yeah, I've had some strange issues with the iFrameCommunicator as well. Usually hard refresh does the trick. I can live with that working locally.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 18:31:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88569#M55809</guid>
      <dc:creator>tomtichy410</dc:creator>
      <dc:date>2024-01-09T18:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Testing locally AcceptHosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88938#M56047</link>
      <description>&lt;P&gt;"Facing challenges testing AcceptHosted solution locally due to issues with passing URLs containing 'localhost' to Authorize.Net. Error message indicates 'https://' requirement, but the real issue is with 'localhost'. Editing hosts file for a fake domain is a workaround, but seeking alternative solutions for smoother testing process. Any suggestions or insights appreciated."&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 12:25:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-locally-AcceptHosted/m-p/88938#M56047</guid>
      <dc:creator>seed</dc:creator>
      <dc:date>2024-03-04T12:25:35Z</dc:date>
    </item>
  </channel>
</rss>

