<?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: E_WC_03: Accept.js is not loaded correctly in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/E-WC-03-Accept-js-is-not-loaded-correctly/m-p/71262#M43852</link>
    <description>&lt;P&gt;did u got a answer for this? if u yes could you please share?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 07:16:54 GMT</pubDate>
    <dc:creator>ishara119</dc:creator>
    <dc:date>2020-03-26T07:16:54Z</dc:date>
    <item>
      <title>E_WC_03: Accept.js is not loaded correctly</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/E-WC-03-Accept-js-is-not-loaded-correctly/m-p/70803#M43523</link>
      <description>&lt;P&gt;I am using same code as given in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/acceptjs.html#Integrating_the_Hosted_Payment_Information_Form" target="_blank"&gt;https://developer.authorize.net/api/reference/features/acceptjs.html#Integrating_the_Hosted_Payment_Information_Form&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for creating&amp;nbsp;dataDescriptor and&amp;nbsp;dataValue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but getting "E_WC_03: Accept.js is not loaded correctly" error from&amp;nbsp;responseHandler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not getting this error befor one or two hours. after some time this happan.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; &amp;lt;form id="authPaymentForm"
              method="POST"
              action="http://thed.com/order/AuthorizeOrderResponse"&amp;gt;
            &amp;lt;input type="hidden" name="dataValue" id="dataValue" /&amp;gt;
            &amp;lt;input type="hidden" name="dataDescriptor" id="dataDescriptor" /&amp;gt;
            &amp;lt;button type="button"
                    id="authButton"
                    class="AcceptUI"
                    data-billingAddressOptions='{"show":false, "required":false}'
                    data-apiLoginID="apiLoginID" //as per my account
                    data-clientKey="clientKey" //as per my account
                    data-acceptUIFormBtnTxt="Submit"
                    data-acceptUIFormHeaderTxt="Card Information"
                    data-responseHandler="responseHandler"&amp;gt;
                hidden
            &amp;lt;/button&amp;gt;
        &amp;lt;/form&amp;gt;

 &amp;lt;script type="text/javascript"&amp;gt;
            function responseHandler(response) {
                debugger
                if (response.messages.resultCode === "Error") {
                    var i = 0;
                    while (i &amp;lt; response.messages.message.length) {
                        ShowMessage(response.messages.message[i].code + ": " + response.messages.message[i].text, "error");
                        i = i + 1;
                    }
                } else {
                    paymentFormUpdate(response.opaqueData);
                }
            }
            function paymentFormUpdate(opaqueData) {
                document.getElementById("dataDescriptor").value = opaqueData.dataDescriptor;
                document.getElementById("dataValue").value = opaqueData.dataValue;
                document.getElementById("authPaymentForm").submit();
            }
        &amp;lt;/script&amp;gt;

&amp;lt;script type="text/javascript"
                src="https://jstest.authorize.net/v3/AcceptUI.js"
                charset="utf-8"&amp;gt;
        &amp;lt;/script&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Feb 2020 13:21:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/E-WC-03-Accept-js-is-not-loaded-correctly/m-p/70803#M43523</guid>
      <dc:creator>derathod123</dc:creator>
      <dc:date>2020-02-25T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: E_WC_03: Accept.js is not loaded correctly</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/E-WC-03-Accept-js-is-not-loaded-correctly/m-p/71262#M43852</link>
      <description>&lt;P&gt;did u got a answer for this? if u yes could you please share?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 07:16:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/E-WC-03-Accept-js-is-not-loaded-correctly/m-p/71262#M43852</guid>
      <dc:creator>ishara119</dc:creator>
      <dc:date>2020-03-26T07:16:54Z</dc:date>
    </item>
  </channel>
</rss>

