<?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 hostedPaymentIFrameCommunicatorUrl not referenced in payment form in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/hostedPaymentIFrameCommunicatorUrl-not-referenced-in-payment/m-p/62822#M37071</link>
    <description>&lt;P&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;I’m making a JSON request for the payment form&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;The form is returned, but does not reference the&amp;nbsp;&lt;FONT face="Consolas" size="2"&gt;hostedPaymentIFrameCommunicatorUrl&amp;nbsp;parameter.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;JSON request below.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;As far as I can tell, the format matches the&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/features/accept_hosted.html#AcceptHosted_JSONRequest" target="_blank" rel="noopener noreferrer"&gt;example on the Authorize.Net Accept Hosted page&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&amp;nbsp;&lt;PRE&gt;{
  "getHostedPaymentPageRequest": {
    "merchantAuthentication": {
      "name": "26qQeN7z",
      "transactionKey": "aaaaaaaaaaaaaaaa"
    },
    "transactionRequest": {
      "transactionType": "authCaptureTransaction",
      "amount": 5
    },
    "hostedPaymentSettings": {
      "setting": [
        {
          "settingName": "&lt;FONT color="#FF00FF"&gt;hostedPaymentIFrameCommunicatorUrl",
          "settingValue": "{\"url\":\"https://test.yourweddingcompany.com/ywc_communicator.php\"}"
        },
        {
          "settingName": "hostedPaymentPaymentOptions",
          "settingValue": "{\"cardCodeRequired\":true}"
        },
        {
          "settingName": "hostedPaymentShippingAddressOptions",
          "settingValue": "{\"show\":true,\"required\":true}"
        },
        {
          "settingName": "hostedPaymentBillingAddressOptions",
          "settingValue": "{\"show\":true,\"required\":true}"
        },
        {
          "settingName": "hostedPaymentCustomerOptions",
          "settingValue": "{\"showEmail\":true,\"requiredEmail\":true}"
        },
        {
          "settingName": "hostedPaymentOrderOptions",
          "settingValue": "{\"show\":true,\"merchantName\":\"Your Wedding Company\"}"
        }
      ]
    }
  }
}&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Here is the resulting DOM.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note that it has loaded the payment form, but the form does not reference&amp;nbsp;&lt;FONT size="2"&gt;&lt;SPAN&gt;&lt;FONT color="#FF00FF"&gt;hostedPaymentIFrameCommunicatorUrl:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://test.yourweddingcompany.com/Authorize.Net%20iframe%20problem.png" target="_self"&gt;DOM image&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 25 Apr 2018 06:55:06 GMT</pubDate>
    <dc:creator>pskovacs</dc:creator>
    <dc:date>2018-04-25T06:55:06Z</dc:date>
    <item>
      <title>hostedPaymentIFrameCommunicatorUrl not referenced in payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/hostedPaymentIFrameCommunicatorUrl-not-referenced-in-payment/m-p/62822#M37071</link>
      <description>&lt;P&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;I’m making a JSON request for the payment form&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;The form is returned, but does not reference the&amp;nbsp;&lt;FONT face="Consolas" size="2"&gt;hostedPaymentIFrameCommunicatorUrl&amp;nbsp;parameter.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;JSON request below.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;As far as I can tell, the format matches the&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/features/accept_hosted.html#AcceptHosted_JSONRequest" target="_blank" rel="noopener noreferrer"&gt;example on the Authorize.Net Accept Hosted page&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DIV&gt;&amp;nbsp;&lt;PRE&gt;{
  "getHostedPaymentPageRequest": {
    "merchantAuthentication": {
      "name": "26qQeN7z",
      "transactionKey": "aaaaaaaaaaaaaaaa"
    },
    "transactionRequest": {
      "transactionType": "authCaptureTransaction",
      "amount": 5
    },
    "hostedPaymentSettings": {
      "setting": [
        {
          "settingName": "&lt;FONT color="#FF00FF"&gt;hostedPaymentIFrameCommunicatorUrl",
          "settingValue": "{\"url\":\"https://test.yourweddingcompany.com/ywc_communicator.php\"}"
        },
        {
          "settingName": "hostedPaymentPaymentOptions",
          "settingValue": "{\"cardCodeRequired\":true}"
        },
        {
          "settingName": "hostedPaymentShippingAddressOptions",
          "settingValue": "{\"show\":true,\"required\":true}"
        },
        {
          "settingName": "hostedPaymentBillingAddressOptions",
          "settingValue": "{\"show\":true,\"required\":true}"
        },
        {
          "settingName": "hostedPaymentCustomerOptions",
          "settingValue": "{\"showEmail\":true,\"requiredEmail\":true}"
        },
        {
          "settingName": "hostedPaymentOrderOptions",
          "settingValue": "{\"show\":true,\"merchantName\":\"Your Wedding Company\"}"
        }
      ]
    }
  }
}&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Here is the resulting DOM.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note that it has loaded the payment form, but the form does not reference&amp;nbsp;&lt;FONT size="2"&gt;&lt;SPAN&gt;&lt;FONT color="#FF00FF"&gt;hostedPaymentIFrameCommunicatorUrl:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://test.yourweddingcompany.com/Authorize.Net%20iframe%20problem.png" target="_self"&gt;DOM image&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 25 Apr 2018 06:55:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/hostedPaymentIFrameCommunicatorUrl-not-referenced-in-payment/m-p/62822#M37071</guid>
      <dc:creator>pskovacs</dc:creator>
      <dc:date>2018-04-25T06:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: hostedPaymentIFrameCommunicatorUrl not referenced in payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/hostedPaymentIFrameCommunicatorUrl-not-referenced-in-payment/m-p/62831#M37078</link>
      <description>&lt;P&gt;I solved the problem. Everything below is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The intent had been to display the payment form once it&amp;nbsp;communicated its size via the communicator page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting display:none on the iframe's&amp;nbsp;container somehow prevents the payment form from loading the communicator url.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using&amp;nbsp;visibility:hidden instead fixes&amp;nbsp;the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:21:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/hostedPaymentIFrameCommunicatorUrl-not-referenced-in-payment/m-p/62831#M37078</guid>
      <dc:creator>pskovacs</dc:creator>
      <dc:date>2018-04-25T15:21:37Z</dc:date>
    </item>
  </channel>
</rss>

