<?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: DPM / Accept.js in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57705#M32400</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21421"&gt;@raviparmarce88&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can look at these as two separate issues:&lt;/P&gt;
&lt;P&gt;1. Why are you getting errors with Accept.js?&lt;/P&gt;
&lt;P&gt;2. What's the best way to get the transaction information out of the response?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's start with Accept.js first. A common problem is that people structure their HTML form and their JavaScript so that the Accept.dispatchData call happens twice on form submit. The first call returns a valid nonce; the second call returns an E_WC_14 error, because the Accept.js script will only allow one nonce to be returned each time it's loaded. The script has to be reloaded each time it's used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you check over your code and see if you might accidentally be calling&amp;nbsp;Accept.dispatchData twice? Better yet, could you post your whole form code and script code here?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 16:03:15 GMT</pubDate>
    <dc:creator>Aaron</dc:creator>
    <dc:date>2017-04-14T16:03:15Z</dc:date>
    <item>
      <title>DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57688#M32388</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I am quite new to Authorize.net&lt;/P&gt;
&lt;P&gt;I am trying to implement DPM with accept.js as per upgrade guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i am not sure how to send billing informaiton with this method ?&lt;/P&gt;
&lt;P&gt;Can anyone please help me or share some sample java code with accept.js&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 16:55:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57688#M32388</guid>
      <dc:creator>raviparmarce88</dc:creator>
      <dc:date>2017-04-13T16:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57692#M32389</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21421"&gt;@raviparmarce88&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At it's core, Accept.js is just a tool to turn a credit card number into a token that you can pass around without fear of accidentally exposing a customer's payment info. You can use that token in our other API functions in place of the card data. All of your other interaction with our system would be through our API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you read through the &lt;A href="http://developer.authorize.net/api/reference/features/acceptjs.html" target="_self"&gt;Accept.js&lt;/A&gt; documentation &amp;nbsp;or our &lt;A href="http://developer.authorize.net/api/reference/index.html" target="_self"&gt;API documentation&lt;/A&gt; yet? If so, is there a particular point there I can help you with? We do also have &lt;A href="https://github.com/AuthorizeNet/sample-code-java" target="_self"&gt;sample code for Java&lt;/A&gt;&amp;nbsp;using our &lt;A href="https://github.com/AuthorizeNet/sdk-java" target="_self"&gt;Java SDK&lt;/A&gt; if that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 17:07:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57692#M32389</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-04-13T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57701#M32396</link>
      <description>&lt;P&gt;Thanks you &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it..!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now the issue is that frequently I am getting&amp;nbsp;E_WC_14:Accept.js encryption failed. error with when call accept.js with necessary data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eventhough getting error, when I use that token in my API it is giving me success payment response from authorize.net&lt;/P&gt;&lt;P&gt;Response:-- net.authorize.api.contract.v1.TransactionResponse$Messages@5e9c6c&lt;BR /&gt;Successfully created transaction with Transaction ID:&amp;nbsp;xxxxxxxxxx&lt;BR /&gt;Response Code: 1&lt;BR /&gt;Message Code: 1&lt;BR /&gt;Description: This transaction has been approved.&lt;BR /&gt;Auth Code:&amp;nbsp;xxxxxxxxx&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not confident that it is actual success or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also can you please let me konw how can I get row transaction response. Actually I want to fetch few information like last 4digits of card number, address, transaction id ect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 06:38:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57701#M32396</guid>
      <dc:creator>raviparmarce88</dc:creator>
      <dc:date>2017-04-14T06:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57705#M32400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21421"&gt;@raviparmarce88&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can look at these as two separate issues:&lt;/P&gt;
&lt;P&gt;1. Why are you getting errors with Accept.js?&lt;/P&gt;
&lt;P&gt;2. What's the best way to get the transaction information out of the response?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's start with Accept.js first. A common problem is that people structure their HTML form and their JavaScript so that the Accept.dispatchData call happens twice on form submit. The first call returns a valid nonce; the second call returns an E_WC_14 error, because the Accept.js script will only allow one nonce to be returned each time it's loaded. The script has to be reloaded each time it's used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you check over your code and see if you might accidentally be calling&amp;nbsp;Accept.dispatchData twice? Better yet, could you post your whole form code and script code here?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:03:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57705#M32400</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-04-14T16:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57745#M32436</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Due to some security constrain i cant past the code but i am sure that there is no duplicate call for&amp;nbsp;Accept.dispatchData().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also for my transaction related question, can you please let me know that what is best way to get tranaction response with all the information like last 4digits of card number, transaction id that i have mapped, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:41:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57745#M32436</guid>
      <dc:creator>raviparmarce88</dc:creator>
      <dc:date>2017-04-19T11:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57747#M32438</link>
      <description>&lt;P&gt;Apart from question posted in above post, I have on more question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now we are implementing accept.js mechanism, so still do we really need iFrame implementation ?&lt;/P&gt;&lt;P&gt;Does it really make sense to use iFrame ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:23:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57747#M32438</guid>
      <dc:creator>raviparmarce88</dc:creator>
      <dc:date>2017-04-19T13:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57753#M32444</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21421"&gt;@raviparmarce88&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Due to some security constrain i cant past the code but i am sure that there is no duplicate call for&amp;nbsp;Accept.dispatchData().&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Probably not much I can do to help here then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21421"&gt;@raviparmarce88&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also for my transaction related question, can you please let me know that what is best way to get tranaction response with all the information like last 4digits of card number, transaction id that i have mapped, etc.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Once you get a payment nonce, you send it in the place of the card number in a transaction request to our API. Have you done the part of coding a transaction request to our API? Do you get a response when you send a card number but not when you send the payment nonce?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 21:29:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57753#M32444</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-04-19T21:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: DPM / Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57754#M32445</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21421"&gt;@raviparmarce88&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right now we are implementing accept.js mechanism, so still do we really need iFrame implementation ?&lt;/P&gt;
&lt;P&gt;Does it really make sense to use iFrame ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, no reason to use an iFrame with Accept.js unless you need it anyway for your own design.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 21:31:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Accept-js/m-p/57754#M32445</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-04-19T21:31:13Z</dc:date>
    </item>
  </channel>
</rss>

