<?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 Where to find the hosted iFrame client-side code samples? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-find-the-hosted-iFrame-client-side-code-samples/m-p/52968#M28136</link>
    <description>&lt;P&gt;I am looking for the client-side html and javascript code samples and/or javascript libraries for embedding the hosted form in an iFrame.&lt;BR /&gt;&lt;BR /&gt;I have already successfully implemented the server-side code to create a new customer profile and get the hosted page token, and have successfully pulled back the generated hosted page html and verified that it includes the correct customer information inside var &lt;EM&gt;g_CustProf.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;However, after looking through all of the github code samples (java, ruby, php, C#), I've yet to find actual html code samples other than the profile/manage form and submit button under Redirect in the CIM manual.&lt;BR /&gt;&lt;BR /&gt;The developer documents make reference to such a code...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;We have sample code available in our developer forums that shows one example of how to open the hosted form in a shadow box. The shadow box layout can also be accomplished with third-party Javascript toolkits such as jquery.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;... but the link is a generic link back to &lt;A href="http://developer.authorize.net/api/samplecode/" target="_self"&gt;http://developer.authorize.net/api/samplecode/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A general google search also turned up many references to such a code sample back in 2012, and point to a broken zip file download, no doubt lost in the move to github.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developer.authorize.net/resources/files/samplecode/hostedProfileManage.zip" target="_self"&gt;http://developer.authorize.net/resources/files/samplecode/hostedProfileManage.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The closest thing I could find was another developer posting their non-functional html code here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.developer.cybersource.com/t5/Integration-and-Testing/When-using-hosted-CIM-g-iframeCommunicatorUrl-quot-quot/m-p/34783#M19206" target="_self"&gt;Forum: Re: When using hosted CIM, g_iframeCommunicatorUrl = ""&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2015 20:11:05 GMT</pubDate>
    <dc:creator>mkienenb</dc:creator>
    <dc:date>2015-11-12T20:11:05Z</dc:date>
    <item>
      <title>Where to find the hosted iFrame client-side code samples?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-find-the-hosted-iFrame-client-side-code-samples/m-p/52968#M28136</link>
      <description>&lt;P&gt;I am looking for the client-side html and javascript code samples and/or javascript libraries for embedding the hosted form in an iFrame.&lt;BR /&gt;&lt;BR /&gt;I have already successfully implemented the server-side code to create a new customer profile and get the hosted page token, and have successfully pulled back the generated hosted page html and verified that it includes the correct customer information inside var &lt;EM&gt;g_CustProf.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;However, after looking through all of the github code samples (java, ruby, php, C#), I've yet to find actual html code samples other than the profile/manage form and submit button under Redirect in the CIM manual.&lt;BR /&gt;&lt;BR /&gt;The developer documents make reference to such a code...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;We have sample code available in our developer forums that shows one example of how to open the hosted form in a shadow box. The shadow box layout can also be accomplished with third-party Javascript toolkits such as jquery.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;... but the link is a generic link back to &lt;A href="http://developer.authorize.net/api/samplecode/" target="_self"&gt;http://developer.authorize.net/api/samplecode/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A general google search also turned up many references to such a code sample back in 2012, and point to a broken zip file download, no doubt lost in the move to github.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developer.authorize.net/resources/files/samplecode/hostedProfileManage.zip" target="_self"&gt;http://developer.authorize.net/resources/files/samplecode/hostedProfileManage.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The closest thing I could find was another developer posting their non-functional html code here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.developer.cybersource.com/t5/Integration-and-Testing/When-using-hosted-CIM-g-iframeCommunicatorUrl-quot-quot/m-p/34783#M19206" target="_self"&gt;Forum: Re: When using hosted CIM, g_iframeCommunicatorUrl = ""&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 20:11:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-find-the-hosted-iFrame-client-side-code-samples/m-p/52968#M28136</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2015-11-12T20:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find the hosted iFrame client-side code samples?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-find-the-hosted-iFrame-client-side-code-samples/m-p/52998#M28163</link>
      <description>&lt;P&gt;We should be adding this sample code to github in the near future, but for the moment I am attaching it to this post.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 23:23:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-find-the-hosted-iFrame-client-side-code-samples/m-p/52998#M28163</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2015-11-13T23:23:52Z</dc:date>
    </item>
  </channel>
</rss>

