<?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: Generic/Test Nonce for testing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59380#M33969</link>
    <description>&lt;P&gt;Thanks for this &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20868"&gt;@raisedonors&lt;/a&gt;... I was planning on doing similar, and will have a look at your hack in a bit. Honestly though, I see no reason why A.net can't offer a whitelist approach for development, so we (like you said) don't have to build a hack sub-tool just to develop with their API. :D&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 22:54:29 GMT</pubDate>
    <dc:creator>jima</dc:creator>
    <dc:date>2017-08-14T22:54:29Z</dc:date>
    <item>
      <title>Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59374#M33963</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering if there is a list of accepted test Nonce/OTS strings that can be used while developing? I'm testing out an API call (to the createCustomerPaymentProfileRequest method), but rather than using the &amp;lt;creditCard&amp;gt; XML node, I'm trying with the &amp;lt;opaqueData&amp;gt; XML node. It would really help to have a list of accepted Nonces, much like acceptable dummy credit card numbers, for testing. Right now, I'm getting error E00114 "Invalid OTS Token" as the response, and I'm pretty sure that's because the Nonce isn't being recognized as valide data.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 20:28:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59374#M33963</guid>
      <dc:creator>jima</dc:creator>
      <dc:date>2017-08-14T20:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59376#M33965</link>
      <description>&lt;P&gt;The nonce (number used once or number once) wouldn't be such, if it was used more than said number of times. Just get one dynamically with Accept.js using sandbox credentials.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 21:35:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59376#M33965</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-08-14T21:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59377#M33966</link>
      <description>&lt;P&gt;We are doing integration testing and being that this is performed on the server, we need a way to generate a nonce from the server, not client side. Stripe offers this functionality server side,&lt;/P&gt;&lt;P&gt;&lt;A href="https://stripe.com/docs/api#create_card_token" target="_blank"&gt;https://stripe.com/docs/api#create_card_token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realize the beauty of Accept.js is for improved PCI compliance and keeping all CC data off the server, but we are needing to mock our solution with our integration tests -- and cannot create a nonce value from the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As suggested above, having a test nonce or a way to generate a nonce from the server would be of tremendous value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As of right now, I'm trying to determine how i can create a web request from the server to genereate a nonce. Using Fiddler and such, I'm not having much luck right now....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best practice approach to test our integrations without using a client side javascript library and using nonces?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 21:39:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59377#M33966</guid>
      <dc:creator>raisedonors</dc:creator>
      <dc:date>2017-08-14T21:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59378#M33967</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21608"&gt;@NexusSoftware&lt;/a&gt;, Not really the point here. Yes, it's a single-use number, that didn't need pointed out, but if there was a whitelist of pre-defined pseudo-nonce values, for use in testing, there would be great value in that. Based on other's responses to my question, it's safe to say I'm not alone in thinking so either. Thanks for your input, but again, I'm not looking for a definition, but a means to conveniently develop and test SERVER (not client) API calls.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 22:01:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59378#M33967</guid>
      <dc:creator>jima</dc:creator>
      <dc:date>2017-08-14T22:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59379#M33968</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21289"&gt;@jima&lt;/a&gt;&amp;nbsp;I was able to successfully complete this on the server. I had to create a HttpWebRequest and build my own Json payload. It's working beautifuly for me, still hope Auth.net can build this into their API so that we don't need a 'hacky' solution like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/4f2708lt6edf3wx/Screenshot%202017-08-14%2017.44.17.png?dl=0" target="_blank"&gt;https://www.dropbox.com/s/4f2708lt6edf3wx/Screenshot%202017-08-14%2017.44.17.png?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 22:45:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59379#M33968</guid>
      <dc:creator>raisedonors</dc:creator>
      <dc:date>2017-08-14T22:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59380#M33969</link>
      <description>&lt;P&gt;Thanks for this &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20868"&gt;@raisedonors&lt;/a&gt;... I was planning on doing similar, and will have a look at your hack in a bit. Honestly though, I see no reason why A.net can't offer a whitelist approach for development, so we (like you said) don't have to build a hack sub-tool just to develop with their API. :D&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 22:54:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59380#M33969</guid>
      <dc:creator>jima</dc:creator>
      <dc:date>2017-08-14T22:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59381#M33970</link>
      <description>&lt;P&gt;It is the point, exactly. Any way you cut it, whether you use Accept.js or call the API directly with the something like the following, it is going to be an actual nonce. Anything else would&amp;nbsp;eliminate the value of it.&lt;/P&gt;&lt;PRE&gt;&amp;lt;securePaymentContainerRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
    &amp;lt;merchantAuthentication&amp;gt;
        &amp;lt;name&amp;gt;{{loginId}}&amp;lt;/name&amp;gt;
        &amp;lt;clientKey&amp;gt;{{clientKey}}&amp;lt;/clientKey&amp;gt;
    &amp;lt;/merchantAuthentication&amp;gt;
    &amp;lt;refId&amp;gt;12345&amp;lt;/refId&amp;gt;
    &amp;lt;data&amp;gt;
    	&amp;lt;type&amp;gt;TOKEN&amp;lt;/type&amp;gt;
    	&amp;lt;id&amp;gt;{{$guid}}&amp;lt;/id&amp;gt;
    	&amp;lt;token&amp;gt;
    		&amp;lt;cardNumber&amp;gt;4111111111111111&amp;lt;/cardNumber&amp;gt;
    		&amp;lt;expirationDate&amp;gt;122025&amp;lt;/expirationDate&amp;gt;
    		&amp;lt;cardCode&amp;gt;900&amp;lt;/cardCode&amp;gt;
    		&amp;lt;fullName&amp;gt;Mary Jones&amp;lt;/fullName&amp;gt;
    	&amp;lt;/token&amp;gt;
    &amp;lt;/data&amp;gt;
&amp;lt;/securePaymentContainerRequest&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Aug 2017 23:34:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59381#M33970</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-08-14T23:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59384#M33973</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21608"&gt;@NexusSoftware&lt;/a&gt;, I'm quite certain I know what the point of my question here is. I appreciate your efforts, but do not appreciate your argumentative tone when I point out that your offerings aren't on point to the question/request. Your point may be "...the point, exactly", for your purposes and/or proposed solution to your misperceptions to what I'm needing, but they couldn't be further from my point, or the point that I am trying to address in this thread. Still, thanks all the same.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 04:01:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59384#M33973</guid>
      <dc:creator>jima</dc:creator>
      <dc:date>2017-08-15T04:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59928#M34497</link>
      <description>&lt;P&gt;Stripe and Braintree both provide nonces for testing, saying it's pointless&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21608"&gt;@NexusSoftware&lt;/a&gt;&amp;nbsp;is stupid. It's test data, i.e. no real transactions take place. How is someone supposed to write unit tests, or test their backend implementation. I had to create a small one-page app just to get nonces to test with using Accept.js. What a waste of time.&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21289"&gt;@jima&lt;/a&gt;&amp;nbsp;is 100% correct saying this is essential. Is it bad to have test credit cards? No? Then why not have test nonces so we can properly test our implementations. Utterly ridiculous. Yeah, I understand that an nonce is single-use, at the end of the day it's just a string the developer is passing through to Authorize.Net, the fact that it's single-use and different every time has no bearing on our implementation, it's a security detail. Braintree offers &lt;STRONG&gt;fake-valid-nonce&lt;/STRONG&gt; as a test nonce. They do it, stripe does it, why again can't Authorize.Net?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if you need to test a bunch of cases, make different nonces that respond to different events. Fake-valid-nonce, fake-invalid-nonce, fake-expired-nonce, fake-duplicate-nonce, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:44:27 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59928#M34497</guid>
      <dc:creator>shaneprrlt</dc:creator>
      <dc:date>2017-09-19T21:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59929#M34498</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/22344"&gt;@shaneprrlt&lt;/a&gt;, apparently Authorize.net has higher standards and a better system than Stripe or Braintree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting a nonce, server side, without using Accept.js is extremely easy. The fact that you wasted your time creating a one page app to get a nonce, when within minutes a function can be created to get a nonce, is on you. I hope you are not charging by the hour.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 22:40:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59929#M34498</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-09-19T22:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Generic/Test Nonce for testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59930#M34499</link>
      <description>&lt;P&gt;We appreciate the feedback from everyone regarding the lack of a test payment nonce for testing.&amp;nbsp; If you would like to see this added, please go to the &lt;A href="https://community.developer.authorize.net/t5/Ideas/Test-Opaque-Token/idi-p/56940" target="_self"&gt;product ideas forum and vote for the suggestion&lt;/A&gt;. We do review these regularly and use your votes for priority.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 19:38:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generic-Test-Nonce-for-testing/m-p/59930#M34499</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-09-20T19:38:39Z</dc:date>
    </item>
  </channel>
</rss>

