<?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 AcceptUI.js integration - responseHandler being called twice in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AcceptUI-js-integration-responseHandler-being-called-twice/m-p/67735#M41078</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am integrating AcceptUI.js in my angularjs app.&amp;nbsp; I found that the responseHandler method is being called twice (one succeeds and one fails) onclicking the paynow button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to avoid this situation.&amp;nbsp; Please guide me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am making the call to createTransaction api, after i get the nonce from responseHandler, via angularjs http call.&amp;nbsp; Our architecture is AngularJS + Java RESTAPIs, and we want to avoid making calls to the external payment apis from our REST APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need further details.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2019 04:37:02 GMT</pubDate>
    <dc:creator>kums</dc:creator>
    <dc:date>2019-05-17T04:37:02Z</dc:date>
    <item>
      <title>AcceptUI.js integration - responseHandler being called twice</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AcceptUI-js-integration-responseHandler-being-called-twice/m-p/67735#M41078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am integrating AcceptUI.js in my angularjs app.&amp;nbsp; I found that the responseHandler method is being called twice (one succeeds and one fails) onclicking the paynow button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to avoid this situation.&amp;nbsp; Please guide me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am making the call to createTransaction api, after i get the nonce from responseHandler, via angularjs http call.&amp;nbsp; Our architecture is AngularJS + Java RESTAPIs, and we want to avoid making calls to the external payment apis from our REST APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need further details.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 04:37:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AcceptUI-js-integration-responseHandler-being-called-twice/m-p/67735#M41078</guid>
      <dc:creator>kums</dc:creator>
      <dc:date>2019-05-17T04:37:02Z</dc:date>
    </item>
  </channel>
</rss>

