<?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 limitation in Accept.js? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/limitation-in-Accept-js/m-p/62333#M36680</link>
    <description>&lt;P&gt;I have been following the tutorial&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/acceptjs.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/acceptjs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me get to the point&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The credit card data is sent to authorize.net from the client with this call&lt;/P&gt;&lt;PRE&gt;Accept.dispatchData(secureData, responseHandler);

&lt;/PRE&gt;&lt;P&gt;Sometimes when the connection to authorize.net server disconnects then this error is thrown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;net::ERR_INTERNET_DISCONNECTED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried all the solutions posted here but none have worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/49484920/how-to-catch-error-of-async-call-in-javascript" target="_blank"&gt;https://stackoverflow.com/questions/49484920/how-to-catch-error-of-async-call-in-javascript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i am wondering whether it is possible to catch this error that Accept.dispatchData gets when it cannot connect to the external authorize.net endpoint?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help to this dilemma i am facing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 04:30:29 GMT</pubDate>
    <dc:creator>kofhearts</dc:creator>
    <dc:date>2018-03-27T04:30:29Z</dc:date>
    <item>
      <title>limitation in Accept.js?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/limitation-in-Accept-js/m-p/62333#M36680</link>
      <description>&lt;P&gt;I have been following the tutorial&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/acceptjs.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/acceptjs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me get to the point&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The credit card data is sent to authorize.net from the client with this call&lt;/P&gt;&lt;PRE&gt;Accept.dispatchData(secureData, responseHandler);

&lt;/PRE&gt;&lt;P&gt;Sometimes when the connection to authorize.net server disconnects then this error is thrown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;net::ERR_INTERNET_DISCONNECTED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried all the solutions posted here but none have worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/49484920/how-to-catch-error-of-async-call-in-javascript" target="_blank"&gt;https://stackoverflow.com/questions/49484920/how-to-catch-error-of-async-call-in-javascript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i am wondering whether it is possible to catch this error that Accept.dispatchData gets when it cannot connect to the external authorize.net endpoint?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help to this dilemma i am facing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 04:30:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/limitation-in-Accept-js/m-p/62333#M36680</guid>
      <dc:creator>kofhearts</dc:creator>
      <dc:date>2018-03-27T04:30:29Z</dc:date>
    </item>
  </channel>
</rss>

