<?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: Testing card errors when creating a customer profile in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58602#M33226</link>
    <description>&lt;P&gt;Well, if the liveMode validation did fail, what would be returned in the response? Would the response be an error, or a success?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 01:05:54 GMT</pubDate>
    <dc:creator>skyhijoseph1</dc:creator>
    <dc:date>2017-06-27T01:05:54Z</dc:date>
    <item>
      <title>Testing card errors when creating a customer profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58566#M33194</link>
      <description>&lt;P&gt;I'm writing an application that utilizes customer profiles. I'm currently trying to write integration tests for the creation of the customer profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to test the scenario where the user enters a bad credit card. I set the validation mode to LiveMode when making the request to createCustomerProfile. In the&amp;nbsp;&lt;A href="http://developer.authorize.net/hello_world/testing_guide/" target="_blank"&gt;testing guide&lt;/A&gt;, it says when creating the payment nonce, I can use the zip code&amp;nbsp;46282 for the transaction to be declined. However, I got a successful response from the createCustomerProfile. In the&amp;nbsp;validationDirectResponseList in the response, it says 'this transaction has been approved'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to force createCustomerProfile to decline the test transaction in sandbox?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 00:45:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58566#M33194</guid>
      <dc:creator>skyhijoseph1</dc:creator>
      <dc:date>2017-06-23T00:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Testing card errors when creating a customer profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58599#M33223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21852"&gt;@skyhijoseph1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have bad news, I'm afraid. One of the limitations of that testing trigger in the sandbox is that it only works on an amount of 0.01 or greater. Since the liveMode validation in a profile creation is doing an authOnlyTransaction of 0.00 each time, it's going to show approved in sandbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In production, you could at least send a known non-working number to test a decline, but in sandbox, every number that appears valid (i.e. passes the Luhn check) will show as accepted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've let our developers know, but I'd also encourage you to post this onto our &lt;A href="https://community.developer.cybersource.com/t5/Ideas/idb-p/ideas" target="_self"&gt;Ideas Forum&lt;/A&gt; where others can take a look, contribute feedback, and vote for new features.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 00:35:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58599#M33223</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-06-27T00:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Testing card errors when creating a customer profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58602#M33226</link>
      <description>&lt;P&gt;Well, if the liveMode validation did fail, what would be returned in the response? Would the response be an error, or a success?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 01:05:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58602#M33226</guid>
      <dc:creator>skyhijoseph1</dc:creator>
      <dc:date>2017-06-27T01:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Testing card errors when creating a customer profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58607#M33230</link>
      <description>&lt;P&gt;The response has a&amp;nbsp;validationDirectResponseList element, which contains delimited response string, just like the response that you'd get back from our older AIM API. The response string can be customized in the merchant interface by choosing the delimiter character and the order of fields.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:46:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58607#M33230</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-06-27T18:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Testing card errors when creating a customer profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58609#M33232</link>
      <description>&lt;P&gt;Ok, thank you for your responses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one last question. If the customer profile fails validation, does the customer profile still get created?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 20:44:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58609#M33232</guid>
      <dc:creator>skyhijoseph1</dc:creator>
      <dc:date>2017-06-27T20:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Testing card errors when creating a customer profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58614#M33237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21852"&gt;@skyhijoseph1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the validation is unsuccessful, the profile is not created, and you'll receive an error code. I can't find the exact reference off the top of my head, but I believe you'll receive &lt;A href="http://developer.authorize.net/api/reference/responseCodes.html?code=E00027" target="_self"&gt;E00027&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 00:05:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Testing-card-errors-when-creating-a-customer-profile/m-p/58614#M33237</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-06-28T00:05:05Z</dc:date>
    </item>
  </channel>
</rss>

