<?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 window[I] is not a function..  AcceptUI.js:1 in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/window-I-is-not-a-function-AcceptUI-js-1/m-p/73309#M45380</link>
    <description>&lt;P&gt;button code:&lt;/P&gt;&lt;P&gt;&amp;lt;form id="paymentForm"&lt;BR /&gt;method="POST"&lt;BR /&gt;action="https://YourServer/PathToExistingPaymentProcessingScript"&amp;gt;&lt;BR /&gt;&amp;lt;input type="hidden" name="dataValue" id="dataValue" /&amp;gt;&lt;BR /&gt;&amp;lt;input type="hidden" name="dataDescriptor" id="dataDescriptor" /&amp;gt;&lt;BR /&gt;&amp;lt;button type="button"&lt;BR /&gt;class="AcceptUI btn btn-primary"&lt;BR /&gt;data-billingAddressOptions='{"show":true, "required":true}'&lt;BR /&gt;data-apiLoginID="6jWN5Num7s"&lt;BR /&gt;data-clientKey="45WcsGtuZutcLj2Kfu5qx5dRk5Bb55vVcZ9GB9kzqjsqQBn3y99VA5jKX8TUKd2q"&lt;BR /&gt;data-acceptUIFormBtnTxt="Submit"&lt;BR /&gt;data-acceptUIFormHeaderTxt="Card Information"&lt;BR /&gt;data-responseHandler= "responseHandler"&amp;gt;&lt;BR /&gt;Submit For Payment&lt;BR /&gt;&amp;lt;/button&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Javascript code:&lt;/P&gt;&lt;P&gt;function responseHandler(response) {&lt;BR /&gt;if (response.messages.resultCode === "Error") {&lt;BR /&gt;var i = 0;&lt;BR /&gt;while (i &amp;lt; response.messages.message.length) {&lt;BR /&gt;console.log(&lt;BR /&gt;response.messages.message[i].code + ": " +&lt;BR /&gt;response.messages.message[i].text&lt;BR /&gt;);&lt;BR /&gt;i = i + 1;&lt;BR /&gt;}&lt;BR /&gt;} else {&lt;BR /&gt;paymentFormUpdate(response.opaqueData);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, what is this:https://YourServer/PathToExistingPaymentProcessingScript?&amp;nbsp; No documentation on Authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I'm getting is:&amp;nbsp; window[I] is not a function..&amp;nbsp; AcceptUI.js:1&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 13:28:04 GMT</pubDate>
    <dc:creator>anush</dc:creator>
    <dc:date>2020-09-22T13:28:04Z</dc:date>
    <item>
      <title>window[I] is not a function..  AcceptUI.js:1</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/window-I-is-not-a-function-AcceptUI-js-1/m-p/73309#M45380</link>
      <description>&lt;P&gt;button code:&lt;/P&gt;&lt;P&gt;&amp;lt;form id="paymentForm"&lt;BR /&gt;method="POST"&lt;BR /&gt;action="https://YourServer/PathToExistingPaymentProcessingScript"&amp;gt;&lt;BR /&gt;&amp;lt;input type="hidden" name="dataValue" id="dataValue" /&amp;gt;&lt;BR /&gt;&amp;lt;input type="hidden" name="dataDescriptor" id="dataDescriptor" /&amp;gt;&lt;BR /&gt;&amp;lt;button type="button"&lt;BR /&gt;class="AcceptUI btn btn-primary"&lt;BR /&gt;data-billingAddressOptions='{"show":true, "required":true}'&lt;BR /&gt;data-apiLoginID="6jWN5Num7s"&lt;BR /&gt;data-clientKey="45WcsGtuZutcLj2Kfu5qx5dRk5Bb55vVcZ9GB9kzqjsqQBn3y99VA5jKX8TUKd2q"&lt;BR /&gt;data-acceptUIFormBtnTxt="Submit"&lt;BR /&gt;data-acceptUIFormHeaderTxt="Card Information"&lt;BR /&gt;data-responseHandler= "responseHandler"&amp;gt;&lt;BR /&gt;Submit For Payment&lt;BR /&gt;&amp;lt;/button&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Javascript code:&lt;/P&gt;&lt;P&gt;function responseHandler(response) {&lt;BR /&gt;if (response.messages.resultCode === "Error") {&lt;BR /&gt;var i = 0;&lt;BR /&gt;while (i &amp;lt; response.messages.message.length) {&lt;BR /&gt;console.log(&lt;BR /&gt;response.messages.message[i].code + ": " +&lt;BR /&gt;response.messages.message[i].text&lt;BR /&gt;);&lt;BR /&gt;i = i + 1;&lt;BR /&gt;}&lt;BR /&gt;} else {&lt;BR /&gt;paymentFormUpdate(response.opaqueData);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, what is this:https://YourServer/PathToExistingPaymentProcessingScript?&amp;nbsp; No documentation on Authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I'm getting is:&amp;nbsp; window[I] is not a function..&amp;nbsp; AcceptUI.js:1&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 13:28:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/window-I-is-not-a-function-AcceptUI-js-1/m-p/73309#M45380</guid>
      <dc:creator>anush</dc:creator>
      <dc:date>2020-09-22T13:28:04Z</dc:date>
    </item>
  </channel>
</rss>

