<?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: How to test declines with Accept.JS in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57270#M31999</link>
    <description>&lt;P&gt;Understood,&amp;nbsp;but we don't ask for a zip code in our use case -- we go straight from payment nonce to transaction with minimal info. Since payment amounts no longer trigger an error, I'm not sure how to proceed.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2017 13:42:07 GMT</pubDate>
    <dc:creator>glyoder</dc:creator>
    <dc:date>2017-03-15T13:42:07Z</dc:date>
    <item>
      <title>How to test declines with Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57268#M31997</link>
      <description>If I'm using a paymentNonce generated by Accept.JS to perform a transaction, how do I test declines? The transaction amount triggers have apparently been deprecated in favor of zip codes, but Accept.JS doesn't take a zip code. &lt;A href="https://developer.authorize.net/hello_world/testing_guide/" target="_blank"&gt;https://developer.authorize.net/hello_world/testing_guide/&lt;/A&gt;</description>
      <pubDate>Wed, 15 Mar 2017 12:57:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57268#M31997</guid>
      <dc:creator>glyoder</dc:creator>
      <dc:date>2017-03-15T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to test declines with Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57269#M31998</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21288"&gt;@glyoder&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Accept.js library is used solely to create a one-time token, it does not actually perform any additional validation other than simple mathmatical checks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you use createTransactionRequest to submit the nonce or one-time token, that is where you can use the testing guide to trigger a decline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 13:35:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57269#M31998</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-03-15T13:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to test declines with Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57270#M31999</link>
      <description>&lt;P&gt;Understood,&amp;nbsp;but we don't ask for a zip code in our use case -- we go straight from payment nonce to transaction with minimal info. Since payment amounts no longer trigger an error, I'm not sure how to proceed.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 13:42:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57270#M31999</guid>
      <dc:creator>glyoder</dc:creator>
      <dc:date>2017-03-15T13:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to test declines with Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57272#M32001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21288"&gt;@glyoder&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Accept.js does take a zip code. If you'd like to test a decline, your best bet would be to insert code that sends the appropriate zip code in with your dispatchData call. Even if your form isn't asking for a zip code, you can still send the value in with your script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, even though our testing guide mentions that testing based on amounts is deprecated, it does still work for now. Sending a transaction of 70.02 through Accept.js will result in a decline.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:01:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/57272#M32001</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-03-15T16:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to test declines with Accept.JS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/64131#M38111</link>
      <description>&lt;P&gt;How does this work when using the hosted form?&amp;nbsp; The Accept.js response does not include the zip code.&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#Handling_the_Response" target="_blank"&gt;https://developer.authorize.net/api/reference/features/acceptjs.html#Handling_the_Response&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 15:05:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-test-declines-with-Accept-JS/m-p/64131#M38111</guid>
      <dc:creator>tjmoretto</dc:creator>
      <dc:date>2018-08-11T15:05:48Z</dc:date>
    </item>
  </channel>
</rss>

